Add auth controller
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<p class="alert alert-error"><?= $this->e($errors['login']) ?></p>
|
||||
<?php endif ?>
|
||||
|
||||
<form method="post" action="<?= $this->u('user', 'check', array('redirect_query' => urlencode($redirect_query))) ?>">
|
||||
<form method="post" action="<?= $this->u('auth', 'check', array('redirect_query' => $redirect_query)) ?>">
|
||||
|
||||
<?= $this->formCsrf() ?>
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
</li>
|
||||
<?php endif ?>
|
||||
<li>
|
||||
<?= $this->a(t('Logout'), 'user', 'logout', array(), true) ?>
|
||||
<?= $this->a(t('Logout'), 'auth', 'logout') ?>
|
||||
<span class="username hide-tablet">(<?= $this->a($this->e($this->getFullname()), 'user', 'show', array('user_id' => $this->userSession->getId())) ?>)</span>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user