diff options
Diffstat (limited to 'app/Template')
-rw-r--r-- | app/Template/auth/index.php (renamed from app/Template/user/login.php) | 2 | ||||
-rw-r--r-- | app/Template/layout.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/user/login.php b/app/Template/auth/index.php index c2e3914e..b35b1253 100644 --- a/app/Template/user/login.php +++ b/app/Template/auth/index.php @@ -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() ?> diff --git a/app/Template/layout.php b/app/Template/layout.php index ec9f2288..1cdcc249 100644 --- a/app/Template/layout.php +++ b/app/Template/layout.php @@ -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> |