hi all. i know we can use username instead of email by simply adding
username=True to auth, but i wanted to know if there happened to be a
way to use either.

for example, i have parent and children users, and i want kids to use
username, since they might not have email addresses. but i want
parents to use username or email, whichever they can remember.

so i'd like a field that accepts EITHER username or email, and checks
to see if either would allow login. i will figure out how to do this
on my own, but i wanted to see if there were something secret in auth
to do it automatically.

thanks,

matt

Reply via email to