mirror of
https://github.com/delight-im/PHP-Auth.git
synced 2025-08-02 06:10:14 +02:00
Set 'ignore_user_abort' to 'true' in method 'register'
This commit is contained in:
@@ -176,6 +176,8 @@ class Auth {
|
|||||||
public function register($email, $password, $username = null, callable $callback = null) {
|
public function register($email, $password, $username = null, callable $callback = null) {
|
||||||
$this->throttle(self::THROTTLE_ACTION_REGISTER);
|
$this->throttle(self::THROTTLE_ACTION_REGISTER);
|
||||||
|
|
||||||
|
ignore_user_abort(true);
|
||||||
|
|
||||||
$email = self::validateEmailAddress($email);
|
$email = self::validateEmailAddress($email);
|
||||||
$password = self::validatePassword($password);
|
$password = self::validatePassword($password);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user