Merge pull request #284 from BTLzdravtech/dev
feat: Basic support for Keycloak (OIDC) + fix s3 integration + custom s3 (minio) support
This commit is contained in:
@@ -22,7 +22,7 @@ export default async function deleteUserById(
|
||||
}
|
||||
|
||||
// Then, we check if the provided password matches the one stored in the database
|
||||
const isPasswordValid = bcrypt.compareSync(body.password, user.password);
|
||||
const isPasswordValid = bcrypt.compareSync(body.password, user.password || "");
|
||||
|
||||
if (!isPasswordValid) {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user