Skip to content

Commit 1e07ba4

Browse files
authored
Fix #51 If password is disabled.. turn field readonly.. not disable it
1 parent 5a7e369 commit 1e07ba4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

onelogin-saml-sso/php/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ function disable_email()
401401
<script>
402402
jQuery(document).ready(function ($) {
403403
if ($('input[name=email]').length) {
404-
$('input[name=email]').attr("disabled", "disabled");
404+
$('input[name=email]').attr("readonly", "readonly");
405405
}
406406

407407
});

0 commit comments

Comments
 (0)