Proper response sent on password recovery.

This commit is contained in:
Luka Vandervelden 2020-08-17 15:32:47 +02:00
parent db80f3b1bc
commit ecc509ae24

View File

@ -400,7 +400,7 @@ class AuthD::Service
@users_per_uid.update user.uid.to_s, user
Response::PasswordRecoverySent.new user.to_public
Response::PasswordRecovered.new user.to_public
when Request::SearchUser
pattern = Regex.new request.user