Skip to content

Commit

Permalink
Moved AuthState to the action
Browse files Browse the repository at this point in the history
  • Loading branch information
CColeman13 committed Jun 15, 2022
1 parent 0b20d59 commit ef3bba3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions themes/modern/core/loginuserpass.twig
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</div>
</div>
{% endif %}
<form class="form-signin" action="?" method="post" name="f">
<form id="f" class="form-signin pure-form pure-form-aligned center-form" action="{{ moduleURL('core/loginuserpass', {'AuthState': AuthState}) }}" method="post" name="f">
<input type="text" id="username"
tabindex="1"
name="username"
Expand All @@ -47,9 +47,6 @@

<button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
<a class="pull-right forgot-password-link" href="{{ constant('WEBSITE') }}getpassword/">Forgot Password?</a><span class="clearfix"></span>
{%- for name, value in stateparams %}
<input type="hidden" name="{{ name }}" value="{{ value }}">
{%- endfor %}
</form>
<div class="sso-and-create-account-links">
<div class="pull-left sso-link"><a href="{{ constant('WEBSITE') }}login/sso_login.php">SSO Login</a></div>
Expand Down

0 comments on commit ef3bba3

Please sign in to comment.