Skip to content

Commit

Permalink
Put view in the form get part for visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac Connor committed Oct 17, 2022
1 parent 4a98138 commit 96a2e6f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions web/skins/classic/views/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@
<?php
if ( defined('ZM_OPT_USE_AUTH') and ZM_OPT_USE_AUTH ) {
?>
<form class="center-block" name="loginForm" id="loginForm" method="post" action="?">
<form class="center-block" name="loginForm" id="loginForm" method="post" action="?view=login">
<input type="hidden" name="action" value="login"/>
<input type="hidden" name="view" value="login"/>

<div id="loginError" class="hidden alarm" role="alert">
<span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
Expand Down Expand Up @@ -37,6 +36,7 @@
} ?>
<button class="btn btn-lg btn-primary btn-block" type="submit"><?php echo translate('Login') ?></button>
</div>
</form>
<?php
} else {
?>
Expand All @@ -51,6 +51,5 @@
<?php
} # end if ZM_OPT_AUTH
?>
</form>
</div>
<?php xhtmlFooter() ?>

0 comments on commit 96a2e6f

Please sign in to comment.