Cookie authentication.
This commit is contained in:
1 parent
0edf87941a
commit
5219582803
6 files changed
+337
-29
No files matched your search
+2
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user