diff --git a/src/mod_register_web.erl b/src/mod_register_web.erl index 1e188d333..4cd0deb53 100644 --- a/src/mod_register_web.erl +++ b/src/mod_register_web.erl @@ -590,8 +590,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}) -> + get_error_text({error, exists}); +get_error_text({error, exists}) -> <<"The account already exists">>; get_error_text({error, password_incorrect}) -> <<"Incorrect password">>;