mirror of
https://github.com/delight-im/PHP-Auth.git
synced 2025-07-30 21:00:13 +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) {
|
||||
$this->throttle(self::THROTTLE_ACTION_REGISTER);
|
||||
|
||||
ignore_user_abort(true);
|
||||
|
||||
$email = self::validateEmailAddress($email);
|
||||
$password = self::validatePassword($password);
|
||||
|
||||
|
Reference in New Issue
Block a user