Add auth controller

This commit is contained in:
Frederic Guillot
2015-04-11 18:05:10 -04:00
parent ea9d402587
commit 7df055aff1
6 changed files with 74 additions and 62 deletions

View File

@@ -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>