Skip to content

Commit

Permalink
Fix to preserve case for username on login page
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilia Rostovtsev committed Nov 28, 2017
1 parent 098f2da commit bdf6af7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pam_login.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ print '<p class="form-signin-paragraph">' . &Atext('login_message') . '<strong>
if (!$in{'password'}) {
print '<div class="input-group form-group">' . "\n";
print '<span class="input-group-addon"><i class="fa fa-fw fa-user"></i></span>' . "\n";
print '<input type="text" class="form-control session_login pam_login" name="answer" autocomplete="off" placeholder="' .
print '<input type="text" class="form-control session_login pam_login" name="answer" autocomplete="off" autocapitalize="none" placeholder="' .
&Atext('theme_xhred_login_user') . '" ' . ' autofocus>' . "\n";
print '</div>' . "\n";
} else {
Expand Down
2 changes: 1 addition & 1 deletion session_login.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ print '<p class="form-signin-paragraph">' . &Atext('login_message') . '<strong>
$tag = $gconfig{'noremember'} ? 'autocomplete="off"' : '';
print '<div class="input-group form-group">' . "\n";
print '<span class="input-group-addon"><i class="fa fa-fw fa-user"></i></span>' . "\n";
print '<input type="text" class="form-control session_login" name="user" autocomplete="off" placeholder="' .
print '<input type="text" class="form-control session_login" name="user" autocomplete="off" autocapitalize="none" placeholder="' .
&Atext('theme_xhred_login_user') . '" ' . $tag . ' autofocus>' . "\n";
print '</div>' . "\n";
print '<div class="input-group form-group">' . "\n";
Expand Down

0 comments on commit bdf6af7

Please sign in to comment.