Is there any difference between calling `signUp`/`...
# support-questions
i
Is there any difference between calling `signUp`/`signIn` vs. using the pre-defined Express routes?
r
Hey @ITEnthusiasm
The api does input validation (checks for email syntax and password strength), calls the signUp / signIn function and also creates a new session
i
Okay. So if I run
signUp
, I'm not guaranteed to get a check for password strength, and the user will have to login?
r
correct
i
Okay. That's helpful to know. Is there a function that does the strength check for us?
It's probably as simple as a regex 🤔
r
i
Ah, gotcha. Cool.
Thanks for the help as always! 😅 🙏🏿
r
happy to help