summaryrefslogtreecommitdiff
path: root/addons/auth_totp
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2020-08-26 07:44:50 +0000
committerXavier Morel <xmo@odoo.com>2020-09-10 12:50:20 +0000
commite43260fd45448ab5c7843856f56361cdaf11b8b2 (patch)
tree2a6fba1f7c11b20771617c70a0c9878bf5983ca6 /addons/auth_totp
parentb992619840a70c600c50fac0383ad9396351af75 (diff)
[IMP] auth_totp: totp screen layout when website is installed
Apparently website's login layout removes the "card" around the login form, and only the inner login form remains and is centered. Put the card-title inside the login form, it doesn't seem to affect the web layout in noticeable ways, just fixes the layout when website is installed. closes odoo/odoo#57424 Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
Diffstat (limited to 'addons/auth_totp')
-rw-r--r--addons/auth_totp/views/templates.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/auth_totp/views/templates.xml b/addons/auth_totp/views/templates.xml
index e5065a1f8e1..6100317eeed 100644
--- a/addons/auth_totp/views/templates.xml
+++ b/addons/auth_totp/views/templates.xml
@@ -7,8 +7,8 @@
<template id="auth_totp_form">
<t t-call="web.login_layout">
<t t-set="disable_footer">1</t>
- <h5 class="card-title">Two-factor Authentication</h5>
<div class="oe_login_form">
+ <h5 class="card-title">Two-factor Authentication</h5>
<form method="POST" action="" class="">
<input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/>
<input type="hidden" name="redirect" t-att-value="redirect"/>