Content Security Policy (CSP) compatibility beta.
This commit is contained in:
@@ -54,9 +54,6 @@ $_SESSION['mfasetup']['secret'] = $secret;
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/src/images/favicon/apple-touch-icon.png">
|
||||
<link rel="manifest" href="/src/images/favicon/site.webmanifest">
|
||||
|
||||
<style>
|
||||
</style>
|
||||
|
||||
<link rel="stylesheet" href="css/style.full.css" as="style">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -24,13 +24,9 @@ function addLoginAttempts()
|
||||
}
|
||||
|
||||
function setTimeZoneCookie()
|
||||
{
|
||||
?>
|
||||
<script>
|
||||
document.cookie = "user_timezone=" + Intl.DateTimeFormat().resolvedOptions().timeZone + "; path=/";
|
||||
</script>
|
||||
<?php
|
||||
}
|
||||
{ ?>
|
||||
<script src="/src/js/timeZoneCookie.js"></script>
|
||||
<?php }
|
||||
|
||||
function getUserTimezone()
|
||||
{
|
||||
|
||||
@@ -143,7 +143,7 @@ if (checkLoginAttempts() > 20) {
|
||||
<div class="card col-md-5 text-white bg-transparent py-5">
|
||||
<div class="card-body text-center pt-5">
|
||||
<div>
|
||||
<img class="pt-3 w-100 portal-image" alt="portal-image" src="/src/images/logo-login-dark.webp" width="500" height="265" style="height: auto;">
|
||||
<img class="pt-3 w-100 portal-image" alt="portal-image" src="" width="500" height="265" style="height: auto;">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user