소스 검색

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>