Skip to content

Commit

Permalink
Disable registration from env (#8)
Browse files Browse the repository at this point in the history
* can disable registration from .env

* updated readme
  • Loading branch information
angusgoody authored Aug 7, 2023
1 parent ea31723 commit 70309ea
Show file tree
Hide file tree
Showing 5 changed files with 658 additions and 545 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ [email protected]
ADMIN_PASSWORD=password

SHOW_LOGIN_BUTTON=true
DISABLE_REGISTRATION=false

LOG_CHANNEL=stack
LOG_DEPRECATIONS_CHANNEL=null
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ Visit [Localhost](http://localhost/)
| Variable Name | Purpose | Accepted Values | Default Value |
| ------------------ | ------------------------------------- | ----------------- | ------------- |
| SHOW_LOGIN_BUTTON | Visibility of the login button | true, false | true |
| DISABLE_REGISTRATION | Should registration be disabled | true, false | false |
| ADMIN_NAME | Name of the admin user | String | - |
| ADMIN_EMAIL | Email of the admin user | String | - |
| ADMIN_PASSWORD | Password for the admin user | String | - |
Expand Down
Loading

0 comments on commit 70309ea

Please sign in to comment.