From d20895172b5d1f32171036aa16225affc03b5f4a Mon Sep 17 00:00:00 2001 From: kaiyou <pierre@jaury.eu> Date: Tue, 31 Mar 2020 15:59:28 +0200 Subject: [PATCH] Fix a typo in the seafile app template --- hiboo/application/templates/application_seafile.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hiboo/application/templates/application_seafile.html b/hiboo/application/templates/application_seafile.html index b59e7d5e..e936095b 100644 --- a/hiboo/application/templates/application_seafile.html +++ b/hiboo/application/templates/application_seafile.html @@ -8,7 +8,7 @@ OAUTH_ENABLE_INSECURE_TRANSPORT = True OAUTH_CLIENT_ID = "{{ service.config["client_id"] }}" OAUTH_CLIENT_SECRET = "{{ service.config["client_secret"] }}" OAUTH_REDIRECT_URL = "{{ service.config["redirect_uris"][0] }}" -OAUTH_PROVIDER_DOMAIN = "{{ url_for('/', _external=True).split(':')[1].split('/')[0] }}" +OAUTH_PROVIDER_DOMAIN = "{{ url_for('account.home', _external=True).split(':')[1].split('/')[0] }}" OAUTH_AUTHORIZATION_URL = "{{ url_for("sso.oidc_authorize", service_uuid=service.uuid, _external=True) }}" OAUTH_TOKEN_URL = "{{ url_for("sso.oidc_token", service_uuid=service.uuid, _external=True) }}" OAUTH_USER_INFO_URL = "{{ url_for("sso.oidc_userinfo", service_uuid=service.uuid, _external=True) }}" -- GitLab