-
Notifications
You must be signed in to change notification settings - Fork 25
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
Change password view: problem with certain characters #3405
Labels
Comments
Grooming 30.08.2023: We need to see which module creates this problem and maybe open an issue there. |
We need to try to update invenio-accounts to at least |
jma
added a commit
to jma/rero-ils
that referenced
this issue
Dec 13, 2023
* Replaces invenio-userprofile by the invenio access profile. * Updates several packages. * Moves `login_user_via_session` fonction in the tests as some problems occurs when a session merge is called between this function and the http request. * Removes useless babel mock in the tests. * Moves username from the invenio userprofile to the main user database. * Adds a record constructor for a record `replace_refs` as it is not done anymore by invenio. * Adds tests to check the existance of `_updated` and `_created` in the document index. * Removes document types for elasticsearch operations. * Adds marshmalow schema for user profile. * Uses node 16 for the production images. * Updates dependencies for Flask2. * Corrects problems from newer modules. * Closes rero#3405. Co-Authored-by: Peter Weber <[email protected]> Co-Authored-by: Johnny Mariéthoz <[email protected]>
jma
added a commit
to jma/rero-ils
that referenced
this issue
Dec 19, 2023
* Replaces invenio-userprofile by the invenio access profile. * Updates several packages. * Moves `login_user_via_session` fonction in the tests as some problems occurs when a session merge is called between this function and the http request. * Removes useless babel mock in the tests. * Moves username from the invenio userprofile to the main user database. * Adds a record constructor for a record `replace_refs` as it is not done anymore by invenio. * Adds tests to check the existance of `_updated` and `_created` in the document index. * Removes document types for elasticsearch operations. * Adds marshmalow schema for user profile. * Uses node 18 for the production images. * Updates dependencies for Flask2. * Corrects problems from newer modules. * Closes rero#3405. Co-Authored-by: Peter Weber <[email protected]> Co-Authored-by: Johnny Mariéthoz <[email protected]>
jma
added a commit
to jma/rero-ils
that referenced
this issue
Dec 21, 2023
* Replaces invenio-userprofile by the invenio access profile. * Updates several packages. * Moves `login_user_via_session` fonction in the tests as some problems occurs when a session merge is called between this function and the http request. * Removes useless babel mock in the tests. * Moves username from the invenio userprofile to the main user database. * Adds a record constructor for a record `replace_refs` as it is not done anymore by invenio. * Adds tests to check the existance of `_updated` and `_created` in the document index. * Removes document types for elasticsearch operations. * Adds marshmalow schema for user profile. * Uses node 18 for the production images. * Updates dependencies for Flask2. * Corrects problems from newer modules. * Closes rero#3405. Co-Authored-by: Peter Weber <[email protected]> Co-Authored-by: Johnny Mariéthoz <[email protected]>
jma
added a commit
that referenced
this issue
Dec 21, 2023
* Replaces invenio-userprofile by the invenio access profile. * Updates several packages. * Moves `login_user_via_session` fonction in the tests as some problems occurs when a session merge is called between this function and the http request. * Removes useless babel mock in the tests. * Moves username from the invenio userprofile to the main user database. * Adds a record constructor for a record `replace_refs` as it is not done anymore by invenio. * Adds tests to check the existance of `_updated` and `_created` in the document index. * Removes document types for elasticsearch operations. * Adds marshmalow schema for user profile. * Uses node 18 for the production images. * Updates dependencies for Flask2. * Corrects problems from newer modules. * Closes #3405. Co-Authored-by: Peter Weber <[email protected]> Co-Authored-by: Johnny Mariéthoz <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Bug description:
Trying to change a password with an invalid character raises an error in flask_security
UnicodeDecodeError
and seems to reset the password or leave it empty, preventing to log in again. (See Sentry RERO-ILS-33R).Expected behavior:
If I try to change my password to an invalid character that will prevent unicode ASCII decoding, the interface should warn me and prevent me to click save, or at least cancel the password change function and keep the previous password.
Steps to Reproduce:
Context
v1.17.0
The text was updated successfully, but these errors were encountered: