Adds 'logout' and 'register' to login redirect whitelist
parent
cfa8540be9
commit
10083ff7af
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
// Pages that should not be used as redirect targets
|
||||
const INVALID_REDIRECT_PAGES = [
|
||||
'', 'login', 'dashboard', '/'
|
||||
'', 'login', 'logout', 'register', 'dashboard', '/'
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue