mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 20:45:44 +00:00
add dummy entry for missing frontend urls; see TODO@matmair
This commit is contained in:
@ -1290,10 +1290,12 @@ SOCIALACCOUNT_ADAPTER = 'InvenTree.auth_overrides.CustomSocialAccountAdapter'
|
|||||||
ACCOUNT_ADAPTER = 'InvenTree.auth_overrides.CustomAccountAdapter'
|
ACCOUNT_ADAPTER = 'InvenTree.auth_overrides.CustomAccountAdapter'
|
||||||
ACCOUNT_LOGOUT_ON_PASSWORD_CHANGE = True
|
ACCOUNT_LOGOUT_ON_PASSWORD_CHANGE = True
|
||||||
|
|
||||||
|
# TDOO: Implement dynamic lookup for those
|
||||||
HEADLESS_FRONTEND_URLS = {
|
HEADLESS_FRONTEND_URLS = {
|
||||||
'account_confirm_email': 'https://app.project.org/account/verify-email/{key}', # noqa: RUF027
|
'account_confirm_email': 'http://localhost:8000/verify-email/{key}', # noqa: RUF027
|
||||||
'account_reset_password_from_key': 'https://app.org/account/password/reset/key/{key}', # noqa: RUF027
|
'account_reset_password': 'http://localhost:8000/password-reset',
|
||||||
'account_signup': 'https://app.org/account/signup',
|
'account_reset_password_from_key': 'http://localhost:8000/password-reset-key/{key}', # noqa: RUF027
|
||||||
|
'account_signup': 'http://localhost:8000/signup',
|
||||||
}
|
}
|
||||||
HEADLESS_ONLY = True
|
HEADLESS_ONLY = True
|
||||||
HEADLESS_TOKEN_STRATEGY = 'InvenTree.auth_overrides.DRFTokenStrategy'
|
HEADLESS_TOKEN_STRATEGY = 'InvenTree.auth_overrides.DRFTokenStrategy'
|
||||||
|
Reference in New Issue
Block a user