mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2026-06-30 15:20:17 +00:00
chore: review comments
This commit is contained in:
@@ -706,8 +706,8 @@ func (auth *AuthService) calculateLockdownLimit() int {
|
||||
}
|
||||
|
||||
func (auth *AuthService) getCookieDomain() string {
|
||||
if auth.config.Auth.SubdomainsEnabled {
|
||||
return "." + auth.runtime.CookieDomain
|
||||
if !auth.config.Auth.SubdomainsEnabled {
|
||||
return ""
|
||||
}
|
||||
return auth.runtime.CookieDomain
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user