diff options
author | Yorhel <git@yorhel.nl> | 2019-10-03 17:33:33 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-10-03 17:33:35 +0200 |
commit | 3f7769d2ba4047e8766e511b7a42c7aa4721f6f8 (patch) | |
tree | fb3263931645793e280f30e1bce0271281b496b6 /elm/Lib/Api.elm | |
parent | 0965af5fd74cf53503bb7ae0262d31c25f894385 (diff) |
Require email confirmation when changing email address
This ensures that the email address linked to a user is always valid and
actually belong(s|ed) to that user.
Diffstat (limited to 'elm/Lib/Api.elm')
-rw-r--r-- | elm/Lib/Api.elm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/elm/Lib/Api.elm b/elm/Lib/Api.elm index 4df99fde..283cbe3c 100644 --- a/elm/Lib/Api.elm +++ b/elm/Lib/Api.elm @@ -41,6 +41,7 @@ showResponse res = DoubleEmail -> "Email address already used for another account." DoubleIP -> "You can only register one account from the same IP within 24 hours." BadCurPass -> "Current password is invalid." + MailChange -> unexp expectResponse : (Response -> msg) -> Http.Expect msg |