mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 12:47:13 +01:00
Cookie authentication.
This commit is contained in:
parent
0edf87941a
commit
5219582803
6 changed files with 337 additions and 29 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import { getWebsite, getSession, createSession } from 'lib/db';
|
||||
import { getCountry, getDevice, getIpAddress, hash, isValidSession } from 'lib/utils';
|
||||
import { getCountry, getDevice, getIpAddress, isValidSession } from 'lib/utils';
|
||||
import { hash } from 'lib/crypto';
|
||||
|
||||
export default async req => {
|
||||
const { payload } = req.body;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue