mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
Updated login handler
This commit is contained in:
@@ -17,8 +17,7 @@ const loginHandler: LoginHandlers['login'] = async ({
|
||||
// Passwords must be at least 7 characters and contain both alphabetic
|
||||
// and numeric characters.
|
||||
|
||||
// TODO: Currently not working, fix this asap.
|
||||
const loginData = await login({ variables: { email, password }, config })
|
||||
await login({ variables: { email, password }, config, res })
|
||||
|
||||
res.status(200).json({ data: null })
|
||||
}
|
||||
|
Reference in New Issue
Block a user