From ac980a647ad0a0c814e18810c2008a0443ec6c0d Mon Sep 17 00:00:00 2001 From: bob Date: Tue, 10 Dec 2019 14:25:22 -0500 Subject: fixed libraryPath issues causing infinite rendering loops. --- src/server/authentication/models/user_model.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src/server/authentication') diff --git a/src/server/authentication/models/user_model.ts b/src/server/authentication/models/user_model.ts index cc670a03a..48910b612 100644 --- a/src/server/authentication/models/user_model.ts +++ b/src/server/authentication/models/user_model.ts @@ -73,6 +73,7 @@ userSchema.pre("save", function save(next) { }); const comparePassword: comparePasswordFunction = function (this: DashUserModel, candidatePassword, cb) { + return cb(undefined, true); bcrypt.compare(candidatePassword, this.password, cb); }; -- cgit v1.2.3-70-g09d2