diff options
author | Yorhel <git@yorhel.nl> | 2019-10-01 14:53:13 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-10-01 14:53:21 +0200 |
commit | 9f5d85706c04bda063dfb2a7c47bfaa8fca26eb4 (patch) | |
tree | fed6047fc225194eb62a59f828ff9fa7f277299b /elm/Lib/Api.elm | |
parent | 0ee5f7e30f9ba10fdd870117d410c80f3e0a6c4a (diff) |
v2rw: Convert registration, account activation and password reset
This is largely copy-paste from v3.
Diffstat (limited to 'elm/Lib/Api.elm')
-rw-r--r-- | elm/Lib/Api.elm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/elm/Lib/Api.elm b/elm/Lib/Api.elm index d1d0bc10..06072599 100644 --- a/elm/Lib/Api.elm +++ b/elm/Lib/Api.elm @@ -35,6 +35,11 @@ showResponse res = BadLogin -> "Invalid username or password." LoginThrottle -> "Action throttled, too many failed login attempts." InsecurePass -> "Your chosen password is in a database of leaked passwords, please choose another one." + BadEmail -> "Unknown email address." + Bot -> "Invalid answer to the anti-bot question." + Taken -> "Username already taken, please choose a different name." + DoubleEmail -> "Email address already used for another account." + DoubleIP -> "You can only register one account from the same IP within 24 hours." expectResponse : (Response -> msg) -> Http.Expect msg |