Openmaize v0.16.1 Openmaize.LoginTools
Tools that can be used with the Login module.
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.