mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 18:54:58 +00:00 
			
		
		
		
	Change priority on audit messages.
This commit is contained in:
		| @@ -128,7 +128,7 @@ class EditController extends Controller | ||||
|             $this->attachments->saveAttachmentsForModel($bill, $files); | ||||
|         } | ||||
|         if (null !== $files && auth()->user()->hasRole('demo')) { | ||||
|             Log::channel('audit')->info(sprintf('The demo user is trying to upload attachments in %s.', __METHOD__)); | ||||
|             Log::channel('audit')->warning(sprintf('The demo user is trying to upload attachments in %s.', __METHOD__)); | ||||
|             session()->flash('info', (string) trans('firefly.no_att_demo_user')); | ||||
|         } | ||||
| 
 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user