mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 17:18:29 -04:00 
			
		
		
		
	Merge pull request #5550 from turbo124/v5-develop
Fixes for company sub domain
This commit is contained in:
		
						commit
						02f3095ba5
					
				| @ -45,7 +45,7 @@ class StoreCompanyRequest extends Request | ||||
|         if (isset($input['portal_mode']) && ($input['portal_mode'] == 'domain' || $input['portal_mode'] == 'iframe')) { | ||||
|             $rules['portal_domain'] = 'sometimes|url'; | ||||
|         } else { | ||||
|             $rules['portal_domain'] = 'nullable|alpha_num'; | ||||
|             $rules['subdomain'] = 'nullable|alpha_num'; | ||||
|         } | ||||
| 
 | ||||
|         return $rules; | ||||
|  | ||||
| @ -46,7 +46,7 @@ class UpdateCompanyRequest extends Request | ||||
|         if (isset($input['portal_mode']) && ($input['portal_mode'] == 'domain' || $input['portal_mode'] == 'iframe')) { | ||||
|             $rules['portal_domain'] = 'sometimes|url'; | ||||
|         } else { | ||||
|             $rules['portal_domain'] = 'nullable|alpha_num'; | ||||
|             $rules['subdomain'] = 'nullable|alpha_num'; | ||||
|         } | ||||
| 
 | ||||
|         // if($this->company->account->isPaidHostedClient()) {
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user