Skip to content

Commit b6866d6

Browse files
author
Kristan Kenney
committed
Enable login history button for standard users
1 parent 247dd1f commit b6866d6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

web/templates/pages/list_log.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
<a href="/list/log/auth/" id="btn-back" class="ui-button cancel" dir="ltr" title="<?=_('Login history');?>"><i class="fas fa-binoculars status-icon green"></i><?=_('Login history')?></a>
2222
<? } ?>
2323
<? } ?>
24+
<? if ($_SESSION['userContext'] === 'user') {?>
25+
<a href="/list/log/auth/" id="btn-back" class="ui-button cancel" dir="ltr" title="<?=_('Login history');?>"><i class="fas fa-binoculars status-icon green"></i><?=_('Login history')?></a>
26+
<? } ?>
2427
</div>
2528
<div class="l-unit-toolbar__buttonstrip float-right">
2629
<a href="javascript:location.reload();" class="ui-button cancel" dir="ltr"><i class="fas fa-redo status-icon green"></i><?=_('Refresh')?></a>

0 commit comments

Comments
 (0)