mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
logout
This commit is contained in:
parent
33d388c96d
commit
9f75d1d96f
1 changed files with 1 additions and 4 deletions
|
@ -676,11 +676,8 @@ function GetApp(): ModuleType {
|
||||||
id: sessionID,
|
id: sessionID,
|
||||||
})
|
})
|
||||||
res.clearCookie('sessionID').json({
|
res.clearCookie('sessionID').json({
|
||||||
result: 'success',
|
|
||||||
})
|
|
||||||
res.json({
|
|
||||||
msg: 'Successfull logout',
|
msg: 'Successfull logout',
|
||||||
success: true,
|
result: 'success',
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue