summaryrefslogtreecommitdiff
path: root/elm/Lib
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2019-10-03 17:33:33 +0200
committerYorhel <git@yorhel.nl>2019-10-03 17:33:35 +0200
commit3f7769d2ba4047e8766e511b7a42c7aa4721f6f8 (patch)
treefb3263931645793e280f30e1bce0271281b496b6 /elm/Lib
parent0965af5fd74cf53503bb7ae0262d31c25f894385 (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')
-rw-r--r--elm/Lib/Api.elm1
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