mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 10:47:00 +00:00 
			
		
		
		
	Throw some exceptions so I can spot deprecated code.
This commit is contained in:
		| @@ -48,7 +48,7 @@ trait ValidatesAdministrationAccess | ||||
|      */ | ||||
|     protected function validateAdministration(Validator $validator, array $allowedRoles): void | ||||
|     { | ||||
|         die('deprecated method, must be done through user.'); | ||||
|         throw new FireflyException('deprecated method, must be done through user.'); | ||||
|         Log::debug('Now in validateAdministration()'); | ||||
|         if (!auth()->check()) { | ||||
|             Log::error('User is not authenticated.'); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user