mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 17:31:49 +08:00 
			
		
		
		
	format
This commit is contained in:
		| @@ -9,12 +9,12 @@ class Authenticate extends Middleware | ||||
|     /** | ||||
|      * Get the path the user should be redirected to when they are not authenticated. | ||||
|      * | ||||
|      * @param  \Illuminate\Http\Request  $request | ||||
|      * @param \Illuminate\Http\Request $request | ||||
|      * @return string | ||||
|      */ | ||||
|     protected function redirectTo($request) | ||||
|     { | ||||
|         if (! $request->expectsJson()) { | ||||
|         if (!$request->expectsJson()) { | ||||
|             return route('login'); | ||||
|         } | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user