Skip to content

Commit

Permalink
remove show password toggle from log in page, ref #4577 #4580
Browse files Browse the repository at this point in the history
  • Loading branch information
jancborchardt committed Aug 28, 2013
1 parent 5a03707 commit c6eda25
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion core/js/js.js
Expand Up @@ -709,7 +709,6 @@ $(document).ready(function(){
});
label.hide();
};
setShowPassword($('#password'), $('label[for=show]'));
setShowPassword($('#adminpass'), $('label[for=show]'));
setShowPassword($('#pass2'), $('label[for=personal-show]'));
setShowPassword($('#dbpass'), $('label[for=dbpassword]'));
Expand Down
4 changes: 1 addition & 3 deletions core/templates/login.php
Expand Up @@ -21,12 +21,10 @@
</p>

<p class="infield groupbottom">
<input type="password" name="password" id="password" value="" data-typetoggle="#show" placeholder=""
<input type="password" name="password" id="password" value="" placeholder=""
required<?php p($_['user_autofocus'] ? '' : ' autofocus'); ?> />
<label for="password" class="infield"><?php p($l->t('Password')); ?></label>
<img class="svg" id="password-icon" src="<?php print_unescaped(image_path('', 'actions/password.svg')); ?>" alt=""/>
<input type="checkbox" id="show" name="show" />
<label for="show"></label>
</p>

<?php if (isset($_['invalidpassword']) && ($_['invalidpassword'])): ?>
Expand Down

0 comments on commit c6eda25

Please sign in to comment.