From 67df4298963e43449c4b90a7e0022c5c7d58c8c8 Mon Sep 17 00:00:00 2001 From: Krakinou Date: Sun, 12 Apr 2020 14:02:28 +0200 Subject: [PATCH] Patch upside down --- sources/patches/app-admin.patch | 8 ++++---- sources/patches/app-web.patch | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sources/patches/app-admin.patch b/sources/patches/app-admin.patch index 32dc2a4..8486e78 100644 --- a/sources/patches/app-admin.patch +++ b/sources/patches/app-admin.patch @@ -1,11 +1,11 @@ ---- a/cps/admin.py 2020-04-12 12:51:28.100811662 +0200 -+++ b/cps/admin.py 2020-02-23 09:08:01.000000000 +0100 +--- a/cps/admin.py 2020-02-23 09:08:01.000000000 +0100 ++++ b/cps/admin.py 2020-04-12 12:51:28.100811662 +0200 @@ -43,7 +43,7 @@ from .web import admin_required, render_title_template, before_request, unconfigured, login_required_if_no_ano feature_support = { -- 'ldap': bool(services.ldap), -+ 'ldap': False, # bool(services.ldap), +- 'ldap': False, # bool(services.ldap), ++ 'ldap': bool(services.ldap), 'goodreads': bool(services.goodreads_support) } \ No newline at end of file diff --git a/sources/patches/app-web.patch b/sources/patches/app-web.patch index e529dd4..fe45177 100644 --- a/sources/patches/app-web.patch +++ b/sources/patches/app-web.patch @@ -1,11 +1,11 @@ ---- a/cps/web.py 2020-04-12 12:52:23.940774100 +0200 -+++ b/cps/web.py 2020-02-23 09:08:01.000000000 +0100 +--- a/cps/web.py 2020-02-23 09:08:01.000000000 +0100 ++++ b/cps/web.py 2020-04-12 12:52:23.940774100 +0200 @@ -53,7 +53,7 @@ from .redirect import redirect_back feature_support = { -- 'ldap': bool(services.ldap), -+ 'ldap': False, # bool(services.ldap), +- 'ldap': False, # bool(services.ldap), ++ 'ldap': bool(services.ldap), 'goodreads': bool(services.goodreads_support) } \ No newline at end of file