How to cancel user creation? #2264
Answered
by
balazsorban44
sachinraja
asked this question in
Help
-
In the |
Beta Was this translation helpful? Give feedback.
Answered by
balazsorban44
Jun 27, 2021
Replies: 1 comment 2 replies
-
Please provide more information. Why would you save anything in Anyways, to stop a user being logged in, we provide the following API: https://next-auth.js.org/configuration/callbacks#sign-in-callback |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
sachinraja
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please provide more information. Why would you save anything in
localStorage
about the user? Please note that this might be a security issue, aslocalStorage
is easily readable by malicious actors.Anyways, to stop a user being logged in, we provide the following API:
https://next-auth.js.org/configuration/callbacks#sign-in-callback