mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 16:22:14 +00:00
- gate implementation
- protected shared view fix
This commit is contained in:
@@ -27,7 +27,7 @@ class VisitorCreateFolderController extends Controller
|
||||
CreateFolderRequest $request,
|
||||
Share $shared,
|
||||
): Response | array {
|
||||
if (is_demo_account($shared->user->email)) {
|
||||
if (is_demo_account()) {
|
||||
return ($this->fakeCreateFolderAction)($request);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user