From 787d0e7b4c84e37a248c8e98bc071c7e7d1b9c43 Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Thu, 27 Nov 2025 19:50:32 +0000 Subject: [PATCH] config: rename some sections removing redundant words from section title for those now in groups. --- config/config-base.yaml | 10 +++++----- user-auth.go | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/config/config-base.yaml b/config/config-base.yaml index 40a9e29..237166f 100644 --- a/config/config-base.yaml +++ b/config/config-base.yaml @@ -31,7 +31,7 @@ groups: - section: mailgun - section: email_confirmation - group: chatbots - name: "Chat bots" + name: "Chatbots" description: "Options for messaging through chat services." members: - section: discord @@ -837,7 +837,7 @@ sections: description: Go over to the accounts tab, select your user (ensuring you've assigned it an email address) and send yourself an announcement. - section: mailgun meta: - name: Mailgun (Email) + name: Mailgun description: Mailgun API connection settings depends_true: email|method settings: @@ -851,7 +851,7 @@ sections: value: your api key - section: smtp meta: - name: SMTP (Email) + name: SMTP description: SMTP Server connection settings. depends_true: email|method settings: @@ -1333,7 +1333,7 @@ sections: description: Path to user creation notification email in plaintext. - section: ombi meta: - name: Ombi Integration + name: Ombi description: Connect to Ombi to automatically create both Ombi and Jellyfin accounts for new users. You'll need to add a ombi template to an existing User Profile for accounts to be created, which you can do by refreshing then checking Settings @@ -1362,7 +1362,7 @@ sections: description: API Key. Get this from the first tab in Ombi settings. - section: jellyseerr meta: - name: Jellyseerr Integration + name: Jellyseerr description: Connect to Jellyseerr to automatically trigger the import of users on account creation, and to automatically link contact methods (email, discord and telegram). A template must be added to a User Profile for accounts to be diff --git a/user-auth.go b/user-auth.go index e3fe98c..bbacf29 100644 --- a/user-auth.go +++ b/user-auth.go @@ -67,6 +67,7 @@ func (app *appContext) getUserTokenLogin(gc *gin.Context) { host := app.ExternalDomainNoPort(gc) uri := "/my" // FIXME: This seems like a bad idea? I think it's to deal with people having Reverse proxy subfolder/URL base set to /accounts. + // RESPONSE: Not sure when this was added but I think some changes to page stuff make it unnecessary. // if strings.HasPrefix(gc.Request.RequestURI, PAGES.Base) { // uri = "/accounts/my" // }