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:
Daniel
2023-11-19 16:55:09 +03:30
committed by GitHub
14 changed files with 132 additions and 17 deletions
@@ -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 {