https://supertokens.com/ logo
#support-questions
Title
# support-questions
g

gitcommitshow

04/25/2022, 6:17 AM
How to change password's mandatory default requirement(8 characters,...). I want to make it only 4 characters min. and no other mandatory requirement. For now, I can add my new validation using node sdk but not able to change the default validation.
r

rp

04/25/2022, 6:23 AM
@gitcommitshow the only was is to add your own validation function.
you can copy the code from the SDK and then modify that in your own function
g

gitcommitshow

04/25/2022, 6:26 AM
Core server does not enforce this validation?
r

rp

04/25/2022, 6:26 AM
nope. Only the backend SDK
g

gitcommitshow

04/25/2022, 6:26 AM
Got it.
4 Views