mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Fix user password change after f65c618b3f
This commit is contained in:
parent
ddc35dd7d0
commit
e08798c2d4
3 changed files with 15 additions and 7 deletions
|
|
@ -57,7 +57,7 @@ local col_md_size = "6"
|
|||
|
||||
print('<br><div class="row">')
|
||||
|
||||
if(is_admin) then
|
||||
if(not is_admin) then
|
||||
col_md_size = "4"
|
||||
print [[
|
||||
<div class='form-group col-md-]] print(col_md_size) print[[ has-feedback'>
|
||||
|
|
@ -247,7 +247,7 @@ print [[<script>
|
|||
password_alert.error(response.message);
|
||||
]]
|
||||
|
||||
if(is_admin) then
|
||||
if(not is_admin) then
|
||||
print('$("old_password_input").text("");\n');
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue