add account creation toggle

This commit is contained in:
wish
2022-10-24 17:48:57 +11:00
parent fda2e74442
commit 55f1de11fe
3 changed files with 11 additions and 6 deletions

View File

@@ -30,6 +30,7 @@ type Config struct {
// DevModeOptions holds various debug/temporary options for use while developing Erupe.
type DevModeOptions struct {
AutoCreateAccount bool // Automatically create accounts if they don't exist
HideLoginNotice bool // Hide the Erupe notice on login
LoginNotice string // MHFML string of the login notice displayed
CleanDB bool // Automatically wipes the DB on server reset.