File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 > < 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 ) {
You can’t perform that action at this time.
0 commit comments