Welcome Guest, Not a member yet? Register   Sign In
Login by username (redux auth question)
#1

[eluser]markanderson993[/eluser]
Hey I'm wondering if anyone out there knows of a way to login with the redux auth code by inputting a username instead of a password. It seems a wee bit odd to ask the user for their email and password rather than their username and password :/
#2

[eluser]markanderson993[/eluser]
Ah nevermind. It was easy enough to copy paste the existing _login and login functions, change them to _login_by_username and login_by_username functions and change some minute data Smile
#3

[eluser]Popcorn[/eluser]
Hi pianoman993.

Quote:It seems a wee bit odd to ask the user for their email and password rather than their username and password

This is because normally the users email address is not shown publically, where usernames are shown in member profiles and such.

This gives potential hackers half the information they already need to login.

Glad you resolved your issue.

Kind Regards,
-Mathew Davies.




Theme © iAndrew 2016 - Forum software by © MyBB