]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/commitdiff
make this work in case of javascript blockers
authorValerie Pond <redacted>
Mon, 6 Feb 2023 18:18:05 +0000 (18:18 +0000)
committerValerie Pond <redacted>
Mon, 6 Feb 2023 18:18:05 +0000 (18:18 +0000)
I am not fully sure how javascript blockers work but I added this to make sure the login modal displays no matter what. I don't know why we need both but it can't hurt.

login/index.php

index 999313f737e535c91f639e8f60ef09f8795d1165..95c33267e7b0cb00cd8e4b5e3dea6db5234585c8 100644 (file)
@@ -75,7 +75,7 @@ if (!empty($_POST))
 <body role="document">
 <div class="container-fluid">
 <form method="post" action="index.php?redirect=<?php echo $redirect; ?>">
-       <div class="modal" id="loginModal" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="loginModal" aria-hidden="false"></a>
+       <div class="modal" id="loginModal" data-backdrop="static" data-keyboard="false" tabindex="-1" aria-labelledby="loginModal" aria-hidden="false"></a>
        <div class="modal-dialog modal-dialog-centered">
                <div class="modal-content">
                <div class="modal-header" style="margin: 0 auto;">