mirror of
https://github.com/umami-software/umami.git
synced 2026-02-11 16:17:13 +01:00
Login/logout process.
This commit is contained in:
parent
0f0b1e39e7
commit
f947c7770b
10 changed files with 91 additions and 58 deletions
|
|
@ -5,7 +5,7 @@ export default async (req, res) => {
|
|||
|
||||
try {
|
||||
const payload = await verifySecureToken(token);
|
||||
res.status(200).send(payload);
|
||||
res.status(200).json(payload);
|
||||
} catch {
|
||||
res.status(400).end();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue