Fix password validation during password reset #83

Merged
raucao merged 4 commits from bugfix/28-password_reset into master 2023-02-19 14:01:25 +00:00
Owner

See new specs.

fixes #28

See new specs. fixes #28
raucao added the
kredits-1
label 2023-02-19 07:52:04 +00:00
raucao added 2 commits 2023-02-19 07:52:05 +00:00
Add spec to prove issue #28
All checks were successful
continuous-integration/drone/push Build is passing
b9259958f4
raucao force-pushed bugfix/28-password_reset from 48b01ad5a8 to 7dae66959e 2023-02-19 07:55:11 +00:00 Compare
bumi approved these changes 2023-02-19 13:29:07 +00:00
bumi left a comment
Owner

code looks good.

with ldap I still struggle locally - because some Docker issue.

code looks good. with ldap I still struggle locally - because some Docker issue.
@ -40,0 +37,4 @@
self.password_confirmation = new_password_confirmation
return false unless valid?
Devise::LDAP::Adapter.update_password(login_with, new_password)
Owner

can this fail somehow? do we need to catch some error here?

can this fail somehow? do we need to catch some error here?
Author
Owner

Hopefully never, but we have #14 and kosmos/chef#436 open to set up exception tracking.

Hopefully never, but we have #14 and kosmos/chef#436 open to set up exception tracking.
raucao merged commit aa0ba18763 into master 2023-02-19 14:01:25 +00:00
raucao deleted branch bugfix/28-password_reset 2023-02-19 14:01:26 +00:00
raucao added the
bug
label 2023-03-28 14:42:29 +00:00
Sign in to join this conversation.
No description provided.