mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
Handle case when ejabberd_auth_* says the account exists
This commit is contained in:
parent
9c2f0681f0
commit
158aa06760
@ -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}) ->
|
||||
|
Loading…
Reference in New Issue
Block a user