mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-28 16:54:04 +08:00
chore: trim email when requesting forgot password email
This commit is contained in:
parent
72dfee47ce
commit
c6304c2d9b
1 changed files with 1 additions and 1 deletions
|
@ -1326,7 +1326,7 @@ list["forgotPassword"] = new SimplePopup(
|
|||
"Send",
|
||||
async (_thisPopup, email) => {
|
||||
Loader.show();
|
||||
const result = await Ape.users.forgotPasswordEmail(email);
|
||||
const result = await Ape.users.forgotPasswordEmail(email.trim());
|
||||
if (result.status !== 200) {
|
||||
Loader.hide();
|
||||
Notifications.add(
|
||||
|
|
Loading…
Reference in a new issue