enable modifying profile settings for SSO users

This commit is contained in:
daniel31x13
2024-05-12 22:28:34 -04:00
parent 861f8e55f4
commit 65b29830f0
4 changed files with 117 additions and 152 deletions
+1 -1
View File
@@ -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;
},