-
-
Notifications
You must be signed in to change notification settings - Fork 432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[18.0][MIG] auth_user_case_insensitive: Migration to 18.0 #756
base: 18.0
Are you sure you want to change the base?
[18.0][MIG] auth_user_case_insensitive: Migration to 18.0 #756
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately, it looks like you've squashed all the prior commits together. Please take a look at some of the other 18.0 migration pull requests to see what the expected output looks like.
501fad0
to
ad9d922
Compare
…f `_login` * Update code and tests to override `_login` method
Currently translated at 100.0% (2 of 2 strings) Translation: server-auth-12.0/server-auth-12.0-auth_user_case_insensitive Translate-URL: https://translation.odoo-community.org/projects/server-auth-12-0/server-auth-12-0-auth_user_case_insensitive/pt_BR/
Currently translated at 100.0% (4 of 4 strings) Translation: server-auth-16.0/server-auth-16.0-auth_user_case_insensitive Translate-URL: https://translation.odoo-community.org/projects/server-auth-16-0/server-auth-16-0-auth_user_case_insensitive/es/
Currently translated at 100.0% (4 of 4 strings) Translation: server-auth-16.0/server-auth-16.0-auth_user_case_insensitive Translate-URL: https://translation.odoo-community.org/projects/server-auth-16-0/server-auth-16-0-auth_user_case_insensitive/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: server-auth-17.0/server-auth-17.0-auth_user_case_insensitive Translate-URL: https://translation.odoo-community.org/projects/server-auth-17-0/server-auth-17-0-auth_user_case_insensitive/
@amh-mw Oh, my bad! Can you review this now? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per Migration to version 18.0, I would expect two commits at the very end:
- [IMP] auth_user_case_insensitive: pre-commit auto fixes
- [MIG] auth_user_case_insensitive: Migration to 18.0
0dfa869
to
13f74eb
Compare
@amh-mw I updated the commit history you can recheck now |
if credential.get("type") and credential["type"] == "password": | ||
credential["login"] = credential["login"].lower() | ||
|
||
return super()._login(db, credential, user_agent_env) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes track with core Odoo implementation of auth_passkey 1:
Footnotes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't get what you mean, can you explain more, please?
No description provided.