Adds 'logout' and 'register' to login redirect whitelist

main
Yasen Pramatarov 2025-04-23 13:57:11 +03:00
parent cfa8540be9
commit 10083ff7af
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<?php
// Pages that should not be used as redirect targets
const INVALID_REDIRECT_PAGES = [
'', 'login', 'dashboard', '/'
'', 'login', 'logout', 'register', 'dashboard', '/'
];