Fix user password change after f65c618b3f

This commit is contained in:
emanuele-f 2018-12-17 19:56:42 +01:00
parent ddc35dd7d0
commit e08798c2d4
3 changed files with 15 additions and 7 deletions

View file

@ -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