Openmaize v2.5.1 Openmaize.Login.Name
Functions used with the Login module to calculate the identifier of the user based on user input.
These functions can be used with the Openmaize.Login plug as the
unique_id
. They can also just serve as examples of how to write
such a function.
Summary
Functions
Check to see if user input is an email or username, and return the user data and password
Check to see if user input is a phone number or username, and return the user data and password
Functions
Check to see if user input is an email or username, and return the user data and password.
For this function to work, the login form needs to contain an “email” and
“password” in the user
parameters.