mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2025-12-20 23:00:16 -05:00
CsrfToken: Fix exception when validating tokens
This commit is contained in:
parent
876a577e85
commit
abafbacf1a
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ class CsrfToken
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
list($seed, $token) = explode('|', $elementValue);
|
list($seed, $token) = explode('|', $token);
|
||||||
|
|
||||||
if (!is_numeric($seed)) {
|
if (!is_numeric($seed)) {
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue