Permalink
Browse files

Fixed password generator on Add user and change password pages. See P…

…HPCRED-31
  • Loading branch information...
B Tasker
B Tasker committed Aug 9, 2014
1 parent e4cf84f commit ac7f97f34e274f32d5677a0f563c6cdee2453a0c
Showing with 2 additions and 2 deletions.
  1. +1 −1 views/user/add.php
  2. +1 −1 views/user/changePass.php
@@ -93,7 +93,7 @@


<label for="frmPass">Password</label><input type="password" name="frmPass" autocomplete="off" onkeyup="testPassword(this.value);" id="frmPass">
<a href="javascript: var p = genPwd('r',10); alert('The users generated password is: '+p); document.getElementById('frmPass').value = p; document.getElementById('frmPassConf').value = p;">Generate Password</a>
<a href="#" onclick='var p = genPwd('r',10); alert('The users generated password is: '+p); document.getElementById('frmPass').value = p; document.getElementById('frmPassConf').value = p;">Generate Password</a>
<span id="passStrength"></span>
<div id="PassNoMatch" style="display: none;" class="alert alert-error"></div>
@@ -69,7 +69,7 @@
<span id="passStrength"></span>
<div id="PassNoMatch" style="display: none;" class="alert alert-error"></div>

<a href="javascript: var p = genPwd('r',10); alert('Your new password is: '+p); document.getElementById('frmPass').value = p; document.getElementById('frmPassConf').value = p;">Generate Password</a>
<a href="#" onclick="var p = genPwd('r',10); alert('Your new password is: '+p); document.getElementById('frmPass').value = p; document.getElementById('frmPassConf').value = p;">Generate Password</a>

<label for="frmPassConf">Password Confirm</label><input type="password" name="frmPassConf" id="frmPassConf" autocomplete='off'>

0 comments on commit ac7f97f

Please sign in to comment.