Skip to content
Snippets Groups Projects
Commit fba06634 authored by Michael Gapczynski's avatar Michael Gapczynski
Browse files

Add locale for password change error

parent 74c7890f
Branches
No related tags found
No related merge requests found
......@@ -25,7 +25,8 @@ $(document).ready(function(){
});
return false;
} else {
$('passworderror').show();
$('#passwordchanged').hide();
$('#passworderror').show();
return false;
}
......
......@@ -11,7 +11,7 @@
<form id="passwordform">
<fieldset class="personalblock">
<div id="passwordchanged"><?php echo $l->t('Your password got changed');?></div>
<div id="passworderror"></div>
<div id="passworderror"><?php echo $l->t('Unable to change your password');?></div>
<input type="password" id="pass1" name="oldpassword" placeholder="<?php echo $l->t('Current password');?>" />
<input type="password" id="pass2" name="password" placeholder="<?php echo $l->t('New password');?>" data-typetoggle="#show" />
<input type="checkbox" id="show" name="show" /><label for="show"><?php echo $l->t('show');?></label>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment