forked from crowetic/commerce
Updated login handler
This commit is contained in:
parent
228f2141e7
commit
a72c6e49de
@ -17,8 +17,7 @@ const loginHandler: LoginHandlers['login'] = async ({
|
|||||||
// Passwords must be at least 7 characters and contain both alphabetic
|
// Passwords must be at least 7 characters and contain both alphabetic
|
||||||
// and numeric characters.
|
// and numeric characters.
|
||||||
|
|
||||||
// TODO: Currently not working, fix this asap.
|
await login({ variables: { email, password }, config, res })
|
||||||
const loginData = await login({ variables: { email, password }, config })
|
|
||||||
|
|
||||||
res.status(200).json({ data: null })
|
res.status(200).json({ data: null })
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user