From ecc509ae24cd423a1639bc24da6c33355ac4c680 Mon Sep 17 00:00:00 2001 From: Luka Vandervelden Date: Mon, 17 Aug 2020 15:32:47 +0200 Subject: [PATCH] Proper response sent on password recovery. --- src/main.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cr b/src/main.cr index 4cf230d..5ba1e17 100644 --- a/src/main.cr +++ b/src/main.cr @@ -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