enable modifying profile settings for SSO users
This commit is contained in:
@@ -119,7 +119,7 @@ if (
|
||||
passwordMatches = bcrypt.compareSync(password, user.password);
|
||||
}
|
||||
|
||||
if (passwordMatches) {
|
||||
if (passwordMatches && user?.password) {
|
||||
return { id: user?.id };
|
||||
} else return null as any;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user