Added a DISABLE_LOGOUT constant, to allow the logout command to be disabled, for support of external SSO solutions.
This commit is contained in:
@@ -84,13 +84,15 @@
|
||||
<i class="fa fa-life-ring fa-fw"></i>
|
||||
<?= $this->url->link(t('Documentation'), 'doc', 'show') ?>
|
||||
</li>
|
||||
<li>
|
||||
<i class="fa fa-sign-out fa-fw"></i>
|
||||
<?= $this->url->link(t('Logout'), 'auth', 'logout') ?>
|
||||
</li>
|
||||
<?php if (! DISABLE_LOGOUT): ?>
|
||||
<li>
|
||||
<i class="fa fa-sign-out fa-fw"></i>
|
||||
<?= $this->url->link(t('Logout'), 'auth', 'logout') ?>
|
||||
</li>
|
||||
<?php endif ?>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
</header>
|
||||
|
||||
Reference in New Issue
Block a user