Skip to content

Commit aecd7c8

Browse files
committed
More forgiving login UI.
1 parent b58bb80 commit aecd7c8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

content/welcome.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ <h1 style="margin-top:0">About Pencil Code</h1>
7575
<div class="loginblock">
7676
<label class="toggler">
7777
<span id=msg></span>&nbsp; <i class="fa fa-sign-in loginicon"></i> Login</ul></label>
78-
<label>Name: <input id=user></label>
79-
<label>Password: <input type=password id=pass></label>
80-
<label><button id=login disabled>Login <span id=asuser></span></button></label>
78+
<label>Name: <input id=user autocomplete=new-password></label>
79+
<label>Password: <input type=password id=pass autocomplete=new-password></label>
80+
<label><button id=login>Login <span id=asuser></span></button></label>
8181
</div>
8282
</div>
8383
<!-- end of overlay -->
@@ -204,7 +204,7 @@ <h2 style="padding:10px 0">Resources</h2>
204204
var user = $('#user').val().toLowerCase().trim();
205205
var found = usernames.hasOwnProperty(user);
206206
$('#asuser').text(found ? ' as ' + user : '');
207-
$('#login').prop('disabled', !found);
207+
// $('#login').prop('disabled', !found);
208208
return true;
209209
};
210210
function keyFromPassword(username, p) {

0 commit comments

Comments
 (0)