Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 33e0f9b8bd |
@@ -12,12 +12,14 @@ import (
|
||||
func (u *UIServer) handleSSOClientsPage(w http.ResponseWriter, r *http.Request) {
|
||||
csrfToken, err := u.setCSRFCookies(w)
|
||||
if err != nil {
|
||||
u.logger.Error("sso-clients: set CSRF cookies", "error", err)
|
||||
http.Error(w, "internal error", http.StatusInternalServerError)
|
||||
return
|
||||
}
|
||||
|
||||
clients, err := u.db.ListSSOClients()
|
||||
if err != nil {
|
||||
u.logger.Error("sso-clients: list clients", "error", err)
|
||||
u.renderError(w, r, http.StatusInternalServerError, "failed to load SSO clients")
|
||||
return
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
{{define "sso_clients"}}{{template "base" .}}{{end}}
|
||||
{{define "title"}} - SSO Clients{{end}}
|
||||
{{define "content"}}
|
||||
<div class="page-header d-flex justify-between align-center">
|
||||
|
||||
Reference in New Issue
Block a user