mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
Refactor auth logic.
This commit is contained in:
parent
edd1751b81
commit
5e2d23f18f
10 changed files with 40 additions and 30 deletions
|
|
@ -31,7 +31,7 @@ export async function getSession(req) {
|
|||
|
||||
let websiteId = null;
|
||||
|
||||
// Check if websites exists
|
||||
// Check if website exists
|
||||
if (redis.enabled) {
|
||||
websiteId = Number(await redis.get(`website:${websiteUuid}`));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue