Skip to content

Commit

Permalink
Merge pull request #76 from jakeparis/master
Browse files Browse the repository at this point in the history
When "Disable Local Auth" is on, hide pwd field
  • Loading branch information
jrchamp authored Aug 6, 2021
2 parents 93de99c + 4699ca8 commit f1f644c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion shibboleth.php
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,8 @@ function shibboleth_disable_login_form() {
if ( $disable && ! $bypass ) {
?>
<style type="text/css">
.login #loginform p {
.login #loginform p,
.login #loginform .user-pass-wrap {
display: none;
}
<?php if ( ! $password_reset_url ) { ?>
Expand Down

0 comments on commit f1f644c

Please sign in to comment.