Added an option to disable/enable registration.
Some checks failed
Test CloudVista on Ubuntu Latest / test (push) Has been cancelled

This commit is contained in:
Benjamin
2026-08-08 10:21:43 -04:00
parent f9cae511af
commit aa35cef7be
2 changed files with 7 additions and 3 deletions

View File

@@ -21,6 +21,7 @@ my $STORAGE_ROOT = "/var/www/storage"; # must be writable by httpd user
my $MAX_UPLOAD = 1073741824; # 1 GB
my $SCRIPT_NAME = $ENV{SCRIPT_NAME} || "/cgi-bin/cloudvista.cgi";
my $COOKIE_DAYS = 30;
MY $REGISTER_EN = "true";
```
## Requirements
@@ -45,10 +46,10 @@ my $COOKIE_DAYS = 30;
## Usage
Users can:
- Register a new account with username and password
- Register a new account with username and password if registration is enabled
- Login to access their file storage
- Upload files (up to 1GB each)
- Download their files
- Delete individual files
- Change their password
- Delete their account and all files
- Delete their account and all files