mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
Adding token for /logout/
This commit is contained in:
parent
5a6977660c
commit
9a746ea484
8 changed files with 8 additions and 8 deletions
|
@ -89,7 +89,7 @@ sort-disk="<?=$data[$key]['U_DISK']?>" sort-star="<?if($_SESSION['favourites']['
|
|||
<?
|
||||
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