Skip to content

Commit

Permalink
Fix loginform.mustache backport to 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
abias committed Dec 7, 2023
1 parent 9056abb commit 64b3f27
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
11 changes: 0 additions & 11 deletions templates/core/loginform.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
* cansignup - Signup allowed?,
* cookieshelpicon - cookies help icon details
* error - Any errors in the form?,
* info - Info notification to display,
* forgotpasswordurl - Forgot password url,
* hasidentityproviders - Flag, set to true to hide identity providers,
* hasinstructions - Flag, set to true to show instructions,
Expand Down Expand Up @@ -76,7 +75,6 @@
"ltr": true
},
"error": "",
"info": "",
"forgotpasswordurl": "http://localhost/stable_master/login/forgot_password.php",
"hasidentityproviders": false,
"hasinstructions": true,
Expand Down Expand Up @@ -120,10 +118,6 @@
<a href="#" id="loginerrormessage" class="sr-only">{{error}}</a>
<div class="alert alert-danger" role="alert">{{error}}</div>
{{/error}}
{{#info}}
<a href="#" id="logininfomessage" class="sr-only">{{info}}</a>
<div class="alert alert-info" role="alert">{{info}}</div>
{{/info}}
{{#cansignup}}
<a href="{{signupurl}}" class="sr-only">{{#str}} tocreatenewaccount {{/str}}</a>
{{/cansignup}}
Expand Down Expand Up @@ -154,11 +148,6 @@
!}}placeholder="{{#cleanstr}}password{{/cleanstr}}" {{!
!}}autocomplete="current-password">
</div>
{{#recaptcha}}
<div class="login-form-recaptcha form-group">
{{{recaptcha}}}
</div>
{{/recaptcha}}
<div class="login-form-submit form-group">
<button class="btn btn-primary btn-lg" type="submit" id="loginbtn">{{#str}}login{{/str}}</button>
</div>
Expand Down
11 changes: 0 additions & 11 deletions templates/core/loginform.mustache.upstream
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
* cansignup - Signup allowed?,
* cookieshelpicon - cookies help icon details
* error - Any errors in the form?,
* info - Info notification to display,
* forgotpasswordurl - Forgot password url,
* hasidentityproviders - Flag, set to true to hide identity providers,
* hasinstructions - Flag, set to true to show instructions,
Expand Down Expand Up @@ -76,7 +75,6 @@
"ltr": true
},
"error": "",
"info": "",
"forgotpasswordurl": "http://localhost/stable_master/login/forgot_password.php",
"hasidentityproviders": false,
"hasinstructions": true,
Expand Down Expand Up @@ -114,10 +112,6 @@
<a href="#" id="loginerrormessage" class="sr-only">{{error}}</a>
<div class="alert alert-danger" role="alert">{{error}}</div>
{{/error}}
{{#info}}
<a href="#" id="logininfomessage" class="sr-only">{{info}}</a>
<div class="alert alert-info" role="alert">{{info}}</div>
{{/info}}
{{#cansignup}}
<a href="{{signupurl}}" class="sr-only">{{#str}} tocreatenewaccount {{/str}}</a>
{{/cansignup}}
Expand Down Expand Up @@ -148,11 +142,6 @@
!}}placeholder="{{#cleanstr}}password{{/cleanstr}}" {{!
!}}autocomplete="current-password">
</div>
{{#recaptcha}}
<div class="login-form-recaptcha form-group">
{{{recaptcha}}}
</div>
{{/recaptcha}}
<div class="login-form-submit form-group">
<button class="btn btn-primary btn-lg" type="submit" id="loginbtn">{{#str}}login{{/str}}</button>
</div>
Expand Down

0 comments on commit 64b3f27

Please sign in to comment.