From d597f362db9012a47164369e7614fd6a2060e7e5 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 13 Oct 2014 23:41:12 -0400 Subject: Return to provider if user cancels login When the cancel button is hit return to the provider and eventually to the original application via return urls. Signed-off-by: Simo Sorce Reviewed-by: Patrick Uiterwijk --- templates/login/form.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/login/form.html b/templates/login/form.html index e5e5978..69a0cc7 100644 --- a/templates/login/form.html +++ b/templates/login/form.html @@ -33,7 +33,11 @@
- Cancel + {% if cancel_url %} + Cancel + {% else %} + Cancel + {% endif %} {% if next_url %} Next method {% endif %} -- cgit