Don't provide current password in webinterface (github issue #137)

This commit is contained in:
Badlop 2014-02-26 17:18:12 +01:00
parent 4c8aeefa7f
commit c29ba14dbf
1 changed files with 1 additions and 3 deletions

View File

@ -1570,9 +1570,7 @@ user_info(User, Server, Query, Lang) ->
end,
lists:sort(Resources))))]
end,
Password = ejabberd_auth:get_password_s(User, Server),
FPassword = [?INPUT(<<"password">>, <<"password">>,
Password),
FPassword = [?INPUT(<<"text">>, <<"password">>, <<"">>),
?C(<<" ">>),
?INPUTT(<<"submit">>, <<"chpassword">>,
<<"Change Password">>)],