Skip to content
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

Syncing from upstream OCA/server-auth (16.0) #496

Merged
merged 3 commits into from
Sep 19, 2024
Merged

Conversation

bt-admin
Copy link

bt_gitbot

keylor2906 and others added 3 commits September 18, 2024 04:15
…ssword_write_date value.

It happens that when you install the module, all the users that previously existed before that won't have a value set for the new field password_write_date.
And when the validation of minimal hours has passed between the last password write date and now is done, it gets an error of unsupported operands between a bool and timedelta.
With this change, it won't be necessary to validate the last password date if it's the first time reseting password, and when the password is changed it will correctly save the value on password_write_date and will be working normally afterwards.
Signed-off-by moylop260
@bt-admin bt-admin added the 16.0 label Sep 19, 2024
@bt-admin bt-admin merged commit 4fe1551 into brain-tec:16.0 Sep 19, 2024
6 checks passed
Copy link

codecov bot commented Sep 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 42.01%. Comparing base (d0b241e) to head (99d7b5c).
Report is 71 commits behind head on 16.0.

Additional details and impacted files
@@           Coverage Diff           @@
##             16.0     #496   +/-   ##
=======================================
  Coverage   42.01%   42.01%           
=======================================
  Files           8        8           
  Lines         288      288           
  Branches       37       37           
=======================================
  Hits          121      121           
  Misses        166      166           
  Partials        1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants