mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Fix login secure token creation.
This commit is contained in:
parent
3efd2a5b10
commit
9172098fa7
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ export default async (
|
|||
|
||||
await redis.set(key, user);
|
||||
|
||||
const token = createSecureToken(key, secret());
|
||||
const token = createSecureToken({ key }, secret());
|
||||
|
||||
return ok(res, { token, user });
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue