mirror of
https://github.com/processone/ejabberd
synced 2025-10-06 03:50:15 +02:00
Don't provide current password in webinterface (github issue #137)
This commit is contained in:
parent
4c8aeefa7f
commit
c29ba14dbf
1 changed files with 1 additions and 3 deletions
|
@ -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">>)],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue