Ability to disable the drive for anonymous users
This commit is contained in:
1 parent
db0d2e161c
commit
d59bc4612d
5 files changed
+13
-1
No files matched your search
@@ -1922,6 +1922,10 @@ define([
|
||||
};
|
||||
|
||||
var displayAllFiles = function ($container) {
|
||||
if (AppConfig.disableAnonymousStore && !APP.loggedIn) {
|
||||
$container.append(Messages.anonymousStoreDisabled);
|
||||
return;
|
||||
}
|
||||
var allfiles = files[FILES_DATA];
|
||||
if (allfiles.length === 0) { return; }
|
||||
var $fileHeader = getFileListHeader(false);
|
||||
|
||||
Reference in new issue
Block a user