mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
fix: Avoid throwing errors on public auth page
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
bba3a1ccf0
commit
f3d3dfa075
1 changed files with 3 additions and 1 deletions
|
|
@ -47,6 +47,8 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||
|
||||
// Adds functionality to the request password button
|
||||
var passwordRequestButton = document.getElementById('request-password-button-not-talk');
|
||||
passwordRequestButton.addEventListener('click', showEmailAddressPromptForm);
|
||||
if (passwordRequestButton) {
|
||||
passwordRequestButton.addEventListener('click', showEmailAddressPromptForm);
|
||||
}
|
||||
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue