not sure if something like that is implemented, but here's what you can do:
before validating form:
1. check if email is given in post vars (instead of username)
2. if it is, make select query to db to find out username related to given
email
3. change variable (if email is given in username field
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
parent
2 matches
Mail list logo