From 3cc25a061f70076ded6386ef09659165a2b6d3ac Mon Sep 17 00:00:00 2001
From: Jonathan Weth <git@jonathanweth.de>
Date: Sat, 3 Sep 2022 11:37:36 +0200
Subject: [PATCH] Remove oob template because support for it has been removed

---
 .../oauth2_provider/authorized-oob.html       | 36 -------------------
 1 file changed, 36 deletions(-)
 delete mode 100644 aleksis/core/templates/oauth2_provider/authorized-oob.html

diff --git a/aleksis/core/templates/oauth2_provider/authorized-oob.html b/aleksis/core/templates/oauth2_provider/authorized-oob.html
deleted file mode 100644
index 892ae5c9f..000000000
--- a/aleksis/core/templates/oauth2_provider/authorized-oob.html
+++ /dev/null
@@ -1,36 +0,0 @@
-{% extends "core/base.html" %}
-
-{% load i18n %}
-
-{% block content %}
-
-  {% if not error %}
-    <div class="container">
-      <div class="card green">
-        <div class="card-content white-text">
-          <div class="material-icons iconify small left" data-icon="mdi:check"></div>
-          <span class="card-title">{% blocktrans %}Success!{% endblocktrans %}</span>
-          <p>
-            {% trans "Please return to your application and enter this code:" %} {{ code }}
-          </p>
-        </div>
-      </div>
-    </div>
-  {% else %}
-    <div class="container">
-      <div class="card red">
-        <div class="card-content white-text">
-          <div class="material-icons iconify small left" data-icon="mdi:alert-octagon-outline"></div>
-          <span class="card-title">{% trans "Error" %}: {{ error.error }}</span>
-          <p>
-            {{ error.description }}
-          </p>
-          <p>
-            Please verify if the application is configured correctly or contact one of your site administrators:
-          </p>
-          {% include "core/partials/admins_list.html" %}
-        </div>
-      </div>
-    </div>
-  {% endif %}
-{% endblock %}
-- 
GitLab