mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2025-12-09 01:48:08 +00:00
Drop fixed authorization
Important changes: - UseFixedAuth is now UseAuth and toggles all kinds of authorization and registration - UseRegistration is now AllowRegistration to better reflect the meaning - LimitRegistration is now RegistrationLimit because it's not a boolean, it's a value (not "limit registration?", but "registration limit is ...") - registered-users.json is now users.json, because all users are stored there - user.AuthUsed is dropped in favor of new cfg.UseAuth which has the same meaning I hope I have not forgotten anything.
This commit is contained in:
@@ -11,7 +11,7 @@ HTTPPort = 8080
|
||||
URL = https://wiki
|
||||
|
||||
[Authorization]
|
||||
UseFixedAuth = true
|
||||
UseAuth = true
|
||||
|
||||
UseRegistration = true
|
||||
LimitRegistration = 10
|
||||
AllowRegistration = true
|
||||
RegistrationLimit = 10
|
||||
|
||||
@@ -11,7 +11,7 @@ HTTPPort = 1737
|
||||
URL = http://localhost:1737
|
||||
|
||||
[Authorization]
|
||||
UseFixedAuth = true
|
||||
UseAuth = true
|
||||
|
||||
UseRegistration = true
|
||||
LimitRegistration = 3
|
||||
AllowRegistration = true
|
||||
RegistrationLimit = 3
|
||||
|
||||
Reference in New Issue
Block a user