Skip to content

Commit

Permalink
Fix oidc user bool check
Browse files Browse the repository at this point in the history
  • Loading branch information
Encotric committed Jan 4, 2024
1 parent 21e1663 commit 9231faa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/admin/mailu/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ def check_password(self, password):
if password == '':
return False

if self.is_oidc_user():
if self.is_oidc_user:
return False

if utils.oic_client.is_enabled() and 'openid_token' in session:
Expand Down

0 comments on commit 9231faa

Please sign in to comment.