mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 17:31:49 +08:00 
			
		
		
		
	update
This commit is contained in:
		| @@ -37,7 +37,7 @@ class MailController extends Controller | |||||||
|                     'url' => config('v2board.app_url'), |                     'url' => config('v2board.app_url'), | ||||||
|                     'content' => $request->input('content') |                     'content' => $request->input('content') | ||||||
|                 ] |                 ] | ||||||
|             ])->onQueue('other_mail'); |             ]); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         return response([ |         return response([ | ||||||
|   | |||||||
| @@ -54,7 +54,7 @@ class CommController extends Controller | |||||||
|                 'code' => $code, |                 'code' => $code, | ||||||
|                 'url' => config('v2board.app_url') |                 'url' => config('v2board.app_url') | ||||||
|             ] |             ] | ||||||
|         ])->onQueue('verify_mail'); |         ]); | ||||||
|  |  | ||||||
|         Cache::put(CacheKey::get('EMAIL_VERIFY_CODE', $email), $code, 300); |         Cache::put(CacheKey::get('EMAIL_VERIFY_CODE', $email), $code, 300); | ||||||
|         Cache::put(CacheKey::get('LAST_SEND_EMAIL_VERIFY_TIMESTAMP', $email), time(), 60); |         Cache::put(CacheKey::get('LAST_SEND_EMAIL_VERIFY_TIMESTAMP', $email), time(), 60); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user