Skip to content

Commit

Permalink
[MIG] auth_user_case_insensitive: Migration to 18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
karizma committed Oct 15, 2024
1 parent a460a03 commit de29c96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth_user_case_insensitive/models/res_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class ResUsers(models.Model):
def _login(cls, db, credential, user_agent_env):
"""Overload _login to lowercase the `login` before passing to the
super."""
credential['credential'] = credential['login'].lower()
credential['login'] = credential['login'].lower()
return super()._login(db, credential, user_agent_env=user_agent_env)

@api.model_create_multi
Expand Down

0 comments on commit de29c96

Please sign in to comment.