mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-30 19:29:21 +02:00
Fix token generate
This commit is contained in:
parent
08074d8d4f
commit
0127a4f417
@ -142,7 +142,7 @@ $settings->load();
|
||||
|
||||
// csrf protection
|
||||
$token = getSession('csrf_token');
|
||||
if (!isset($token)) {
|
||||
if (!isset($token) || !$token) {
|
||||
CsrfToken::generate();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user