summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2018-11-27 09:28:51 +0000
committerXavier Morel <xmo@odoo.com>2018-11-27 09:32:57 +0000
commit14ff69a46c588191ed56c015789b3ad45d845c12 (patch)
tree727c90673f6779dd3212d26f0dd399f855409d66 /addons/web/static/src/js/views/basic/basic_controller.js
parent9df8e880468bca0873b2d4628d8300fdf1e4fb18 (diff)
[IMP] web: keep ?query on becoming superuser
Being in debug mode is necessary to become superuser (whether on the login page or within the client), however because the becoming endpoint would straight redirect to the _login_redirect result the debug mode would be lost, which is commonly inconvenient. Replace the redirect_with_hash call by local_redirect, which goes through great pains to conserve the ?debug by default. Task 1908202 closes odoo/odoo#29058
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions