diff --git a/assets/templates/oauth_clients_limit_exceeded.html b/assets/templates/oauth_clients_limit_exceeded.html
index 3b9c553e12c..6d10958175d 100644
--- a/assets/templates/oauth_clients_limit_exceeded.html
+++ b/assets/templates/oauth_clients_limit_exceeded.html
@@ -26,14 +26,14 @@
{{t "Too Many OAuth Clients Title" .Client
{{t "Too Many OAuth Clients Available Actions"}}
{{if .PremiumURL}}
-
+
{{t "Too Many OAuth Clients Offers Btn"}}
-
+
{{t "Too Many OAuth Clients Settings Btn"}}
{{else}}
-
+
{{t "Too Many OAuth Clients Settings Btn"}}
{{end}}
diff --git a/web/auth/oauth.go b/web/auth/oauth.go
index f3296896d04..1a34e13f61f 100644
--- a/web/auth/oauth.go
+++ b/web/auth/oauth.go
@@ -271,16 +271,17 @@ func (a *AuthorizeHTTPHandler) authorizeForm(c echo.Context) error {
settingsToken := inst.BuildAppToken(consts.SettingsSlug, sess.ID())
return c.Render(http.StatusOK, "oauth_clients_limit_exceeded.html", echo.Map{
- "Domain": inst.ContextualDomain(),
- "ContextName": inst.ContextName,
- "Locale": inst.Locale,
- "Title": inst.TemplateTitle(),
- "Favicon": middlewares.Favicon(inst),
- "ClientsCount": strconv.Itoa(count),
- "ClientsLimit": strconv.Itoa(limit),
- "ManageDevicesURL": manageDevicesURL,
- "PremiumURL": premiumURL,
- "SettingsToken": settingsToken,
+ "Domain": inst.ContextualDomain(),
+ "ContextName": inst.ContextName,
+ "Locale": inst.Locale,
+ "Title": inst.TemplateTitle(),
+ "Favicon": middlewares.Favicon(inst),
+ "ClientsCount": strconv.Itoa(count),
+ "ClientsLimit": strconv.Itoa(limit),
+ "OpenLinksInNewTab": true,
+ "ManageDevicesURL": manageDevicesURL,
+ "PremiumURL": premiumURL,
+ "SettingsToken": settingsToken,
})
}
}
diff --git a/web/statik/statik.go b/web/statik/statik.go
index dbc35a58d61..9b8b055eb4e 100644
--- a/web/statik/statik.go
+++ b/web/statik/statik.go
@@ -39326,22 +39326,22 @@ GoDsDGV0jNpap3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