mirror of https://github.com/veypi/OneAuth.git
fix(api/auth): reset count variable before uniqueness checks
Fix a bug where the count variable was not reset before checking email and phone uniqueness. This could cause false positives if a previous check had count > 0, incorrectly reporting that email or phone already exists when they don't. - Reset count to 0 before email check - Reset count to 0 before phone checkmaster
parent
9dc866315f
commit
4a316e6d67
Loading…
Reference in New Issue