From 7d4e1048afb5e6ecf2831a4e8ae7ad79219213d7 Mon Sep 17 00:00:00 2001 From: Son NK <> Date: Thu, 1 Apr 2021 10:50:37 +0200 Subject: [PATCH] show warning on authorize page for non-approved app --- app/oauth/templates/oauth/authorize.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/oauth/templates/oauth/authorize.html b/app/oauth/templates/oauth/authorize.html index f62e2d06..192ed0bb 100644 --- a/app/oauth/templates/oauth/authorize.html +++ b/app/oauth/templates/oauth/authorize.html @@ -32,7 +32,14 @@ {% endblock %} {% block default_content %} +
+ {% if not client.approved %} +
+ {{ client.name }} is in Test Mode. +
+ {% endif %} +
{% if client_user %}