Re:Show HN: DataTau (HN clone for data science) has been dow...
by thegurus on Sunday June 23, 2019 @03:45PM
(#20258223)
Sorry guys, do you like ^[A-Za-z0-9@#$%^&+=]+$ for your passwords?
[ Parent
| on HN ]
Re:Show HN: DataTau (HN clone for data science) has been dow...
by BlackLotus89 on Sunday June 23, 2019 @04:10PM
(#20258364)
You should not regex check your passwords at all. Just check !="" and maybe check the length
There is no reason why you should limit symbols for passwords.
Re:Show HN: DataTau (HN clone for data science) has been dow...
by jnbiche on Sunday June 23, 2019 @07:29PM
(#20259420)
This times 1000. Why would you regex check your password? Check for empty string and length and be done with it.
Re:Show HN: DataTau (HN clone for data science) has been dow...
by thegurus on Monday June 24, 2019 @02:11AM
(#20260909)
You are right. Django default auth backend handles this perfectly, but we wanted that functionality of login + signup in the same form, and that signup autofill in case login fail, so made our custom auth views and screw up some things (like username and password validation and going back to previous page after login)