mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-25 23:02:52 -04:00 
			
		
		
		
	re-working validation
This commit is contained in:
		
							parent
							
								
									584133734e
								
							
						
					
					
						commit
						3d104400aa
					
				| @ -15,7 +15,7 @@ class RegisterRequest extends Request | ||||
|      * @return bool | ||||
|      */ | ||||
| 
 | ||||
|     public function __construct(\Illuminate\Http\Request $request) | ||||
|     public function __construct(Request $request) | ||||
|     { | ||||
|         $this->request = $request; | ||||
|     } | ||||
| @ -47,7 +47,7 @@ class RegisterRequest extends Request | ||||
| 
 | ||||
|         Log::info($this->request->api_secret); | ||||
|         Log::info($this->request->email); | ||||
|          | ||||
| 
 | ||||
|         if(!isset($this->request->api_secret)) | ||||
|             return parent::response($errors); | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user