Login page enhancements

- Default to secure cookies (in case var is not defined in config.php)
- Enable content security policy
- Return HTTP 401 response code for invalid username/password combinations
This commit is contained in:
Marcus Hill
2023-06-17 15:09:01 +01:00
parent 8a33a45d20
commit 57dab27169
2 changed files with 11 additions and 9 deletions

View File

@@ -0,0 +1,3 @@
if (window.history.replaceState) {
window.history.replaceState(null,null,window.location.href);
}