Website User Login Redirect Custom
website_user_login_redirect_custom · OCA/website
Health
62/100
fair
-
Security25/25No findings
-
Activity20/25Last human commit 12 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.06 MB
Module directory on disk
Code analysis
0 migration notes
1 model
1 view
0 HTTP endpoints
Description
This module allows administrators to configure a custom URL where website users will be redirected after login or registration. The same applies to new signups.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_website_login_redirect_settings |
res.config.settings.view.form.inherit.website.redirect | res.config.settings | form | Inherits website.res_config_settings_view_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
New fields (2)
-
website_login_redirect_enabledBooleanconfig_parameter='website_user_login_redirect_custom.enabled'help='If checked, users will be redirected to a custom URL after login/signup.'string='On Login/Signup Redirect' -
website_login_redirect_urlCharconfig_parameter='website_user_login_redirect_custom.url'help="Relative URL path where users will be redirected after login/signup. Example: '/', '/shop', '/thank-you-for-joining-us'."string='Custom URL'
-
is_valid_redirect_url(url) -> bool@staticmethodValidate that URL is a safe relative path for redirects
Loading…