diff --git a/app/sso/services/__init__.py b/app/sso/services/__init__.py index 3b5bbde..8760886 100644 --- a/app/sso/services/__init__.py +++ b/app/sso/services/__init__.py @@ -29,7 +29,8 @@ class BaseService(): settings = { 'require_user': True, 'require_password': True, - 'provide_login': False } + 'provide_login': False, + 'use_auth_username': True, } def add_user(self, username, password, **kwargs): """ Add a user, returns a dict for that user """ diff --git a/app/sso/templates/sso/apipassword.html b/app/sso/templates/sso/apipassword.html index 7371fa6..3865f96 100644 --- a/app/sso/templates/sso/apipassword.html +++ b/app/sso/templates/sso/apipassword.html @@ -1,19 +1,22 @@ {% extends "base.html" %} -{% block title %}External Auth API Services Password Reset{% endblock %} +{% block title %}Change Services Password{% endblock %} {% block content %} +
This service will reset your password for all External Auth API Services. If you wish to continue please enter a new password below.
{% endblock %} diff --git a/app/sso/templates/sso/emailchange.html b/app/sso/templates/sso/emailchange.html index 5f4d8f7..fecd04c 100644 --- a/app/sso/templates/sso/emailchange.html +++ b/app/sso/templates/sso/emailchange.html @@ -8,13 +8,12 @@ {% endblock %} diff --git a/app/sso/templates/sso/primarycharchange.html b/app/sso/templates/sso/primarycharchange.html index 1ab6956..7d19ab7 100644 --- a/app/sso/templates/sso/primarycharchange.html +++ b/app/sso/templates/sso/primarycharchange.html @@ -8,12 +8,11 @@Your primary character is used across auth services to show as your display name and corporation. Please set this to which character you consider your "main".
{% endblock %} diff --git a/app/sso/templates/sso/profile.html b/app/sso/templates/sso/profile.html index ff66f51..500858e 100644 --- a/app/sso/templates/sso/profile.html +++ b/app/sso/templates/sso/profile.html @@ -48,24 +48,26 @@These are services that cannot talk to auth and require a seperate username/password.
{% if user.serviceaccount_set.all %} -| Service | Username | URL | Active | Actions |
|---|---|---|---|---|
| {{ acc.service }} | -{{ acc.service_uid }} | -{{ acc.service.url }} | -{% if acc.active %}Yes{% else %}No{% endif %} | -- {% if acc.active %} - {% if acc.service.settings.require_password %}Reset / {% endif %} - Delete - {% if acc.service.provide_login %} - / Login - {% endif %} - {% endif %} - | -
| Service | Username | URL | Active | Actions |
|---|---|---|---|---|
| {{ acc.service }} | +{{ acc.service_uid }} | +{{ acc.service.url }} | +{% if acc.active %}Yes{% else %}No{% endif %} | ++ {% if acc.active %} + {% if acc.service.settings.require_password %}Reset / {% endif %} + Delete + {% if acc.service.provide_login %} / Login{% endif %} + {% endif %} + | +
@@ -93,7 +95,7 @@


To add a service to your account, select the service from the list
-below
-then provide select a username you wish to use create the account for
+below then provide select a username you wish to use create the account for.
For details on how to connect to each service, please consult the wiki
If you are missing some services, please check that your API key is up to date, if so use the "Refresh" function.
- +