I am working on a membership site and using restrict content pro and I need to allow the creation of student access users. This user will only have a username and password so for privacy reasons there will be no identifying data in the database.
I have come up with a solution by hiding the email input field and using the username to create an email address by appending my domain onto it. The user never sees the email address and it is not used for anything (lost password won’t work). The email is essentially the same as the username and satisfies the requirement for an email address by the plugin.
I restricted the username input to just letters and numbers and altered an error message that indicated the email was already in use to the username was in use.
It all seems to work.
My question is, how bad of an idea is this? Am I missing something huge?