Skip to content

Commit

Permalink
Fix typo in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
mremond committed Apr 12, 2016
1 parent 15d184a commit 5958a91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mod_register.erl
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ try_set_password(User, Server, Password, IQ, SubEl,
Txt = <<"Empty password">>,
IQ#iq{type = error, sub_el = [SubEl, ?ERRT_BAD_REQUEST(Lang, Txt)]};
{error, not_allowed} ->
Txt = <<"Chaning password is not allowed">>,
Txt = <<"Changing password is not allowed">>,
IQ#iq{type = error, sub_el = [SubEl, ?ERRT_NOT_ALLOWED(Lang, Txt)]};
{error, invalid_jid} ->
IQ#iq{type = error,
Expand Down

0 comments on commit 5958a91

Please sign in to comment.