mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-28 13:51:44 +02:00
fix wrong namespace
This commit is contained in:
parent
02bf09aaae
commit
69a070498b
@ -36,7 +36,7 @@ class Csrf
|
|||||||
{
|
{
|
||||||
if (is_null($_purpose))
|
if (is_null($_purpose))
|
||||||
{
|
{
|
||||||
throw new egw_exception_wrong_parameter(__METHOD__.'(NULL) $_purspose must NOT be NULL!');
|
throw new Exception\WrongParameter(__METHOD__.'(NULL) $_purspose must NOT be NULL!');
|
||||||
}
|
}
|
||||||
// generate random token (using oppenssl if available otherwise mt_rand based Auth::randomstring)
|
// generate random token (using oppenssl if available otherwise mt_rand based Auth::randomstring)
|
||||||
$token = function_exists('openssl_random_pseudo_bytes') ?
|
$token = function_exists('openssl_random_pseudo_bytes') ?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user