From a1c65d3921f869972588d8303e940b6301469d5c Mon Sep 17 00:00:00 2001 From: Son NK Date: Mon, 22 Jul 2019 20:06:17 +0200 Subject: [PATCH] use EMAIL_DOMAIN instead of simplelogin.co --- app/oauth/templates/oauth/authorize.html | 35 +----------------------- app/oauth/views/authorize.py | 1 + 2 files changed, 2 insertions(+), 34 deletions(-) diff --git a/app/oauth/templates/oauth/authorize.html b/app/oauth/templates/oauth/authorize.html index a6b6a550..93cfda03 100644 --- a/app/oauth/templates/oauth/authorize.html +++ b/app/oauth/templates/oauth/authorize.html @@ -64,7 +64,7 @@
- .{{ email_suffix }}@simplelogin.co + .{{ email_suffix }}@{{ EMAIL_DOMAIN }}
{% endif %} @@ -91,25 +91,7 @@ {% endif %} -
-
- {{ client.name }} will receive your following information: -
-
- {% for scope in client.get_scopes() %} -
- {% if scope == Scope.AVATAR_URL and current_user.profile_picture_id %} - avatar: - {% elif scope == Scope.EMAIL %} - {{ scope.value }}: - A random alias or your original email - {% elif scope == Scope.NAME %} - {{ scope.value }}: {{ current_user.name }} - {% endif %} -
- {% endfor %} -
{% endif %} {% if client_user %} @@ -125,21 +107,6 @@ {% else %} -
-
- -
- - - If checked, an email alias will be used.
- Otherwise, your personal email will be communicated to {{ client.name }}. -
-
-