mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
Merge pull request #1808 from umami-software/bug/um-191-fix-redis-auth-misc-bug
Bug/um 191 fix redis auth misc bug
This commit is contained in:
commit
19662abcd8
4 changed files with 42 additions and 3 deletions
|
|
@ -47,7 +47,7 @@ export default async (
|
|||
return ok(res, { token, user });
|
||||
}
|
||||
|
||||
const token = createSecureToken(user.id, secret());
|
||||
const token = createSecureToken({ userId: user.id }, secret());
|
||||
|
||||
return ok(res, { token, user });
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue