From c07204bb72027d289f6256762e8e19246ee27dee Mon Sep 17 00:00:00 2001
From: Julian Rother <julian@cccv.de>
Date: Sun, 27 Feb 2022 22:43:59 +0100
Subject: [PATCH] Fix OAuth2 logout URI form field

---
 uffd/service/templates/service/oauth2.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/uffd/service/templates/service/oauth2.html b/uffd/service/templates/service/oauth2.html
index 613fb821..3337f3a8 100644
--- a/uffd/service/templates/service/oauth2.html
+++ b/uffd/service/templates/service/oauth2.html
@@ -42,7 +42,7 @@
 			<label for="client-logout-uris">{{ _('Logout URIs') }}</label>
 			<textarea rows="3" class="form-control" id="client-logout-uris" name="logout_uris" placeholder="GET https://example.com/logout">
 {%- for logout_uri in client.logout_uris %}
-{{ logout_uri.method }} {{ logout_uri.uri }}
+{{ logout_uri.method }} {{ logout_uri.uri }}{{ '\n' if not loop.last }}
 {%- endfor %}
 </textarea>
 			<small class="form-text text-muted">
-- 
GitLab