cleaner login and registration

This commit is contained in:
2023-07-18 12:05:30 +02:00
parent 7bf9ce9831
commit c14b174a42
12 changed files with 153 additions and 30 deletions
-1
View File
@@ -15,7 +15,6 @@ import { getJWTFromRequest } from '../../../utils/cookie';
// recipe json in body
export const GET: RequestHandler = async ({request}) => {
const jwt = getJWTFromRequest(request)
console.log(jwt)
// Set your master secret key (replace with your own secret)
const masterSecret = COOKIE_SECRET;