Skip to content

Commit 0c19266

Browse files
author
Kristan Kenney
committed
Show "Login as" on Edit User toolbar
1 parent 2714e20 commit 0c19266

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web/templates/admin/edit_user.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<? if (($_SESSION['user'] == $v_username) || (isset($_SESSION['look']))) {?>
1212
<!-- Do not show delete button for currently logged in user-->
1313
<?} else {?>
14+
<a href="/login/?loginas=<?=$v_username?>&token=<?=$_SESSION['token']?>" id="btn-create" class="ui-button cancel" title="<?=_('login as')?>"><i class="fas fa-sign-in-alt status-icon maroon"></i><?=_('login as')?></a>
1415
<div class="actions-panel display-inline-block" key-action="js">
1516
<a class="data-controls do_delete ui-button danger cancel">
1617
<i class="do_delete fas fa-times-circle status-icon red"></i>

0 commit comments

Comments
 (0)