mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-17 19:05:13 +00:00
chore: management console naming inconsistency (#11390)
# Which Problems Are Solved The following terms have all been renamed to management console: - Customer Portal (when used to mean the console) - Console - Admin Console # How the Problems Are Solved - Search & Replace smartly - Use Copilot for translation files Changes done to: backend + frontend codebase, docs, translations and protobufs (descriptions only) # Additional Context - Partially Closes #11279
This commit is contained in:
@@ -92,7 +92,7 @@ func (a *AccessInterceptor) Limit(w http.ResponseWriter, r *http.Request, public
|
||||
}
|
||||
remaining := a.logstoreSvc.Limit(ctx, instance.InstanceID())
|
||||
if remaining != nil {
|
||||
if remaining != nil && *remaining > 0 {
|
||||
if *remaining > 0 {
|
||||
deleteCookie = true
|
||||
return false
|
||||
}
|
||||
@@ -138,7 +138,7 @@ func (a *AccessInterceptor) handle(publicAuthPathPrefixes ...string) func(http.H
|
||||
checkSpan.End()
|
||||
if limited {
|
||||
if a.redirect != "" {
|
||||
// The console guides the user when the cookie is set
|
||||
// The management console guides the user when the cookie is set
|
||||
http.Redirect(wrappedWriter, request, a.redirect, http.StatusFound)
|
||||
} else {
|
||||
http.Error(wrappedWriter, "Your ZITADEL instance is blocked.", http.StatusTooManyRequests)
|
||||
|
||||
Reference in New Issue
Block a user