From b159770a7d16b44ef43a1f4aced6f059371f6719 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Mar 17 2021 13:45:30 +0000 Subject: Use the correct address for OpenID endpoints for openSUSE openSUSE set up Ipsilon in a different configuration, where the OpenID endpoint isn't .id.opensuse.org, but instead a regular URL path where the username is at the end of the URL. Signed-off-by: Neal Gompa --- diff --git a/noggin/templates/user-settings-profile.html b/noggin/templates/user-settings-profile.html index 26dc505..4e60dcc 100644 --- a/noggin/templates/user-settings-profile.html +++ b/noggin/templates/user-settings-profile.html @@ -12,7 +12,7 @@ {% set buttontext = _('Change Avatar')%} {%- if OPENID is defined %}
- +
{%- else %} diff --git a/noggin/themes/fas/templates/main.html b/noggin/themes/fas/templates/main.html index 283e0f3..a951da1 100644 --- a/noggin/themes/fas/templates/main.html +++ b/noggin/themes/fas/templates/main.html @@ -1,7 +1,7 @@ {% extends "master.html" %} {% block website %}{{_("Fedora Accounts")}}{% endblock %} -{% set OPENID = '.id.fedoraproject.org' %} +{% set OPENID = 'https://%s.id.fedoraproject.org' %} {% block head %} diff --git a/noggin/themes/openSUSE/templates/main.html b/noggin/themes/openSUSE/templates/main.html index a9a3f6d..f527726 100644 --- a/noggin/themes/openSUSE/templates/main.html +++ b/noggin/themes/openSUSE/templates/main.html @@ -1,7 +1,7 @@ {% extends "master.html" %} {% block website %}{{_("openSUSE Accounts")}}{% endblock %} -{% set OPENID = '.sso.opensuse.org' %} +{% set OPENID = 'https://www.opensuse.org/openid/user/%s' %} {% block head %}