aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/web/mod_register_web.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/web/mod_register_web.erl b/src/web/mod_register_web.erl
index 4288e19f5..59a2a5ab0 100644
--- a/src/web/mod_register_web.erl
+++ b/src/web/mod_register_web.erl
@@ -578,6 +578,8 @@ unregister_account(Username, Host, Password) ->
get_error_text({error, captcha_non_valid}) ->
"The captcha you entered is wrong";
+get_error_text({success, exists, _}) ->
+ get_error_text({atomic, exists});
get_error_text({atomic, exists}) ->
"The account already exists";
get_error_text({error, password_incorrect}) ->