Don't send emails on recovery password on not verified profile.

And show proper message to the user saying that the profile
need to be verfied before proceed.
This commit is contained in:
Andrey Antukh 2021-02-03 23:47:19 +01:00 committed by Hirunatan
parent 992a8e9aef
commit 687f7ddf64
4 changed files with 55 additions and 29 deletions

View file

@ -184,10 +184,7 @@
(->> (rp/mutation :request-profile-recovery data)
(rx/tap on-success)
(rx/catch (fn [err]
(on-error err)
(rx/empty))))))))
(rx/catch on-error))))))
;; --- Recovery (Password)