mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2026-06-24 20:30:16 +00:00
fix: don't allow the reserved provider names to be used in oauth
This commit is contained in:
@@ -17,6 +17,8 @@ var OverrideProviders = map[string]string{
|
||||
"github": "GitHub",
|
||||
}
|
||||
|
||||
var ReservedProviderNames = []string{"local", "ldap", "tailscale"}
|
||||
|
||||
const SessionCookieName = "tinyauth-session"
|
||||
const CSRFCookieName = "tinyauth-csrf"
|
||||
const RedirectCookieName = "tinyauth-redirect"
|
||||
|
||||
Reference in New Issue
Block a user