refs #5863 logout remove $_SESSION['user']
gitea/hedera-web/pipeline/head This commit looks good
Details
gitea/hedera-web/pipeline/head This commit looks good
Details
This commit is contained in:
parent
9475c26663
commit
d17bc6115f
|
@ -86,6 +86,7 @@ module.exports = new Class({
|
|||
headers: {'Authorization': token}
|
||||
};
|
||||
await this.post('Accounts/logout', null, config);
|
||||
await this.send('user/logout');
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
class Logout extends Vn\Web\JsonRequest {
|
||||
function run($db) {
|
||||
$_SESSION['user'] = null;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue