diff --git a/form.php b/form.php index 87a62a3..e358e7d 100644 --- a/form.php +++ b/form.php @@ -567,6 +567,7 @@ class csrf $this->csrfToken = $s; $_SESSION["domframework"]["form"]["csrf"] = $this->csrfToken; $_SESSION["domframework"]["form"]["csrfStart"] = microtime (TRUE); + return $this->csrfToken; } /** Check if the provided token is the right token, defined last displayed