Allow for custom workflows that do not rely on passwords
authorAlexander Ebert <ebert@woltlab.com>
Tue, 25 Apr 2023 16:05:09 +0000 (18:05 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 25 Apr 2023 16:05:09 +0000 (18:05 +0200)
wcfsetup/install/files/acp/templates/reauthentication.tpl

index 370df80d0ce5d9f1f3ba3c6e520ed557def5f746..6e4e76c8bd57d0620591d4a8d52ca556cde8e204 100644 (file)
@@ -21,7 +21,7 @@
                        title: '{lang}wcf.user.reauthentication{/lang}',
                        onShow() {
                                setTimeout(() => {
-                                       document.getElementById("password").focus();
+                                       document.getElementById("password")?.focus();
                                }, 2);
                        }
                });