Fixed error message

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-05-22 17:29:43 +01:00
parent 3ab197075a
commit 37d7e89e93

View file

@ -96,7 +96,7 @@ class UserFilesController extends Controller
return redirect()->back()->with('success', trans('admin/users/message.deletefile.success'));
}
return redirect()->back()->with('success', trans('admin/users/message.user_not_found', ['id' => $userId]));
return redirect()->back()->with('error', trans('admin/users/general.log_does_not_exist'));
}