mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Auth: Prevent login if additional accounts may not be created #4266
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -28,6 +28,7 @@ var (
|
||||
ErrDisabledInPublicMode = errors.New("disabled in public mode")
|
||||
ErrAuthenticationDisabled = errors.New("authentication disabled")
|
||||
ErrRateLimitExceeded = errors.New("rate limit exceeded")
|
||||
ErrUsersQuotaExceeded = errors.New("users quota exceeded")
|
||||
)
|
||||
|
||||
// OIDC and OAuth2-related error messages:
|
||||
|
||||
Reference in New Issue
Block a user