diff options
author | Andrew Dolgov <[email protected]> | 2012-09-04 12:08:50 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-09-04 12:08:50 +0400 |
commit | b8cdc39433ef48daff9e27d6a3225481a4f914bb (patch) | |
tree | 925f4fc69eac90642b675959e6ab52db77b950a3 /classes/auth/internal.php | |
parent | 02cd6de12835fb470537b65d0b8adae925dd8bcb (diff) |
focus input field in otp form
Diffstat (limited to 'classes/auth/internal.php')
-rw-r--r-- | classes/auth/internal.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/classes/auth/internal.php b/classes/auth/internal.php index 0254d60e0..214d77801 100644 --- a/classes/auth/internal.php +++ b/classes/auth/internal.php @@ -44,7 +44,9 @@ class Auth_Internal extends Auth_Base { <input type="password" size="6" name="otp"/> <input type="submit" value="Continue"/> </form> - </form> + <script type="text/javascript"> + document.forms[0].otp.focus(); + </script> <?php exit; } |