From 806dfbd64bf5b739a77ad9c92c4d8a5fe832be2c Mon Sep 17 00:00:00 2001
From: Benjami <benjami94@gmail.com>
Date: Tue, 20 Jun 2023 07:46:08 +0200
Subject: [PATCH] Fix: reset_password_endpoint and redirect_admin_url

---
 energy_communities/models/auth_oauth_provider.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/energy_communities/models/auth_oauth_provider.py b/energy_communities/models/auth_oauth_provider.py
index cb710aa70..5f1dac66d 100644
--- a/energy_communities/models/auth_oauth_provider.py
+++ b/energy_communities/models/auth_oauth_provider.py
@@ -23,8 +23,8 @@ class OAuthProvider(models.Model):
     admin_user_endpoint = fields.Char(string='User admin URL', required=True)
     root_endpoint = fields.Char(string='Root URL', required=True, default='http://keycloak-ccee.local:8080/auth/')
     realm_name = fields.Char(string='Realm name', required=True, default='0')
-    reset_password_endpoint = fields.Char(string='Reset password URL', required=True)
-    redirect_admin_url = fields.Char(string='Redirect Link after update password', required=True)
+    reset_password_endpoint = fields.Char(string='Reset password URL')
+    redirect_admin_url = fields.Char(string='Redirect Link after update password')
 
     def validate_admin_provider(self):
         if not self.client_secret:
-- 
GitLab