mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 11:36:44 +00:00
* Specify empty OIDC prefix Ref: https://github.com/inventree/InvenTree/discussions/6273 * Add extra comment around version information * Update InvenTree/InvenTree/settings.py Co-authored-by: Philipp Fruck <dev@p-fruck.de> --------- Co-authored-by: Philipp Fruck <dev@p-fruck.de> (cherry picked from commit d8f69c0609e1360aaf3749c62235065aa99ff462) Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
This commit is contained in:
parent
12cd6a915b
commit
6a66be36f2
@ -970,6 +970,11 @@ SOCIALACCOUNT_PROVIDERS = get_setting('INVENTREE_SOCIAL_PROVIDERS', 'social_prov
|
|||||||
|
|
||||||
SOCIALACCOUNT_STORE_TOKENS = True
|
SOCIALACCOUNT_STORE_TOKENS = True
|
||||||
|
|
||||||
|
# Explicitly set empty URL prefix for OIDC
|
||||||
|
# The SOCIALACCOUNT_OPENID_CONNECT_URL_PREFIX setting was introduced in v0.60.0
|
||||||
|
# Ref: https://github.com/pennersr/django-allauth/blob/0.60.0/ChangeLog.rst#backwards-incompatible-changes
|
||||||
|
SOCIALACCOUNT_OPENID_CONNECT_URL_PREFIX = ''
|
||||||
|
|
||||||
# settings for allauth
|
# settings for allauth
|
||||||
ACCOUNT_EMAIL_CONFIRMATION_EXPIRE_DAYS = get_setting('INVENTREE_LOGIN_CONFIRM_DAYS', 'login_confirm_days', 3, typecast=int)
|
ACCOUNT_EMAIL_CONFIRMATION_EXPIRE_DAYS = get_setting('INVENTREE_LOGIN_CONFIRM_DAYS', 'login_confirm_days', 3, typecast=int)
|
||||||
ACCOUNT_LOGIN_ATTEMPTS_LIMIT = get_setting('INVENTREE_LOGIN_ATTEMPTS', 'login_attempts', 5, typecast=int)
|
ACCOUNT_LOGIN_ATTEMPTS_LIMIT = get_setting('INVENTREE_LOGIN_ATTEMPTS', 'login_attempts', 5, typecast=int)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user