mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	update: password check limit
This commit is contained in:
		| @@ -193,7 +193,7 @@ class AuthController extends Controller | ||||
|         $passwordErrorCount = (int)Cache::get(CacheKey::get('PASSWORD_ERROR_LIMIT', $email)) || 0; | ||||
|  | ||||
|         if ($passwordErrorCount >= 5) { | ||||
|             abort(500, __('Incorrect email or password')); | ||||
|             abort(500, __('There are too many password errors, please try again after 30 minutes.')); | ||||
|         } | ||||
|  | ||||
|         $user = User::where('email', $email)->first(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user