Replies: 1 comment
-
| 
         Hey, In my project, I use zxcvbn-ts exclusively on the server side. However, it’s perfectly fine to use it on the client as well because if a user bypassed the checks and has a bad password its his responsibility in my opinion.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
zxcvbn-ts takes up a lot of space - 600KB just to validate a password. Is it really good practice to use it on the client-side rather than the backend? After all, it's the backend's responsibility to prevent password brute-forcing. I'm using it in a React project, but I'm unsure if it's common practice to bring such a sizable library to the client in a production environment
Beta Was this translation helpful? Give feedback.
All reactions