瀏覽代碼

FIX: theme_m22tc: add hidden login field for invitation signup to prevent 500 error

odoo 2 月之前
父節點
當前提交
9233f373d9
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      theme_m22tc/views/login_custom.xml

+ 3 - 0
theme_m22tc/views/login_custom.xml

@@ -241,6 +241,9 @@
                                            autofocus="autofocus" autocapitalize="off"
                                            t-att-readonly="'readonly' if (token and not invalid_token) else None"/>
                                 </div>
+                                <div t-else="">
+                                  <input type="hidden" name="login" t-att-value="login"/>
+                                </div>
 
                                 <!-- Password Input -->
                                 <div>