24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-04 21:27:16 +02:00

Merge pull request #190 from hamano/mod_register_web_response_404

mod_register_web should response 404 instead of process crash.
This commit is contained in:
badlop 2014-04-30 12:42:43 +02:00
commit 65519cf262

View File

@ -140,7 +140,10 @@ process([<<"change_password">>],
list_to_binary([?T(<<"There was an error changing the password: ">>),
?T(get_error_text(Error))]),
{404, [], ErrorText}
end.
end;
process(Path, _Request) ->
{404, [], "Not Found"}.
%%%----------------------------------------------------------------------
%%% CSS