mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	update: fix register email code type
This commit is contained in:
		| @@ -116,7 +116,7 @@ class AuthController extends Controller | |||||||
|             if (empty($request->input('email_code'))) { |             if (empty($request->input('email_code'))) { | ||||||
|                 abort(500, __('Email verification code cannot be empty')); |                 abort(500, __('Email verification code cannot be empty')); | ||||||
|             } |             } | ||||||
|             if (Cache::get(CacheKey::get('EMAIL_VERIFY_CODE', $request->input('email'))) !== $request->input('email_code')) { |             if ((string)Cache::get(CacheKey::get('EMAIL_VERIFY_CODE', $request->input('email'))) !== (string)$request->input('email_code')) { | ||||||
|                 abort(500, __('Incorrect email verification code')); |                 abort(500, __('Incorrect email verification code')); | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user