autofocus password
This commit is contained in:
parent
2b23c69e83
commit
7f9663322d
1 changed files with 2 additions and 1 deletions
|
@ -13,6 +13,7 @@
|
|||
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
document.getElementById('target').value = getParameterByName('target');
|
||||
document.getElementById('password').focus();
|
||||
});
|
||||
</script>
|
||||
<style>
|
||||
|
@ -48,7 +49,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<form action='/auth/password' method='post'>
|
||||
<input type='password' placeholder='Password' name='password' />
|
||||
<input type='password' placeholder='Password' name='password' id='password' />
|
||||
<input type='hidden' name='target' id='target' />
|
||||
<input type='submit' value='Login' />
|
||||
</form>
|
||||
|
|
Loading…
Reference in a new issue