Commit 6b04b4fd authored by Giannis Tsapelas's avatar Giannis Tsapelas
Browse files

config update

parent ef1a98d5
......@@ -135,7 +135,8 @@ SETTINGS_EXPORT = [
KEYCLOAK_OIDC_PROFILE_MODEL = 'django_keycloak.OpenIdConnectProfile'
LOGIN_URL = 'keycloak_login'
KEYCLOAK_PERMISSIONS_METHOD = 'resource'
KEYCLOAK_BEARER_AUTHENTICATION_EXEMPT_PATHS = (r'api/', r'/', r'')
# KEYCLOAK_BEARER_AUTHENTICATION_EXEMPT_PATHS = (r'api/', r'/', r'')
KEYCLOAK_BEARER_AUTHENTICATION_EXEMPT_PATHS = (r'api/')
# AUTH_PASSWORD_VALIDATORS = [
......@@ -153,9 +154,7 @@ KEYCLOAK_BEARER_AUTHENTICATION_EXEMPT_PATHS = (r'api/', r'/', r'')
# },
# ]
# ACCOUNT_EMAIL_REQUIRED = True
# ACCOUNT_UNIQUE_EMAIL = True
# ACCOUNT_EMAIL_VERIFICATION = 'mandatory'
ACCOUNT_UNIQUE_EMAIL = False
METADATA_API_ENDPOINT = os.environ.get("METADATA_API_ENDPOINT"),
......@@ -171,7 +170,7 @@ USE_L10N = True
USE_TZ = True
DATETIME_FORMAT = 'Y-m-d H:i:s'
DATE_FORMAT = 'Y-m%d'
DATE_FORMAT = 'Y-m-d'
STATIC_URL = '/static/'
STATICFILES_DIRS = [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment