mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-14 22:00:16 +02:00
Don't provide current password in webinterface (github issue #137)
This commit is contained in:
parent
4c8aeefa7f
commit
c29ba14dbf
|
@ -1570,9 +1570,7 @@ user_info(User, Server, Query, Lang) ->
|
||||||
end,
|
end,
|
||||||
lists:sort(Resources))))]
|
lists:sort(Resources))))]
|
||||||
end,
|
end,
|
||||||
Password = ejabberd_auth:get_password_s(User, Server),
|
FPassword = [?INPUT(<<"text">>, <<"password">>, <<"">>),
|
||||||
FPassword = [?INPUT(<<"password">>, <<"password">>,
|
|
||||||
Password),
|
|
||||||
?C(<<" ">>),
|
?C(<<" ">>),
|
||||||
?INPUTT(<<"submit">>, <<"chpassword">>,
|
?INPUTT(<<"submit">>, <<"chpassword">>,
|
||||||
<<"Change Password">>)],
|
<<"Change Password">>)],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user