mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
Adding token for /logout/
This commit is contained in:
parent
5a6977660c
commit
9a746ea484
8 changed files with 8 additions and 8 deletions
|
@ -94,7 +94,7 @@ sort-bandwidth="<?=$data[$key]['U_BANDWIDTH']?>" sort-disk="<?=$data[$key]['U_DI
|
|||
<?
|
||||
if ($key == $user) {
|
||||
?>
|
||||
<div class="actions-panel__col actions-panel__loginas shortcut-l" key-action="href"><a href="/logout"><?=__('logout')?> <i></i></a><span class="shortcut"> L</span></div>
|
||||
<div class="actions-panel__col actions-panel__loginas shortcut-l" key-action="href"><a href="/logout/?token=<?=$_SESSION['token']?>"><?=__('logout')?> <i></i></a><span class="shortcut"> L</span></div>
|
||||
<?php
|
||||
} else {
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue