By Paul Murray on Sunday, 20 August 2017
Posted in Technical Issues
Replies 6
Likes 0
Views 367
Votes 0
Hello Stackideas Team

I am wondering if it is possible to have users login only using there “email”??? ONLY.
Both using the login form here:
https://www.finalbug.net/login-here
And using the Docker App.

This would:

a) Make it easier for them.
b) Could potentially make it easier for me to track things.

i.e. email address would be the Lowest Common Denominator!


thanks

Paul
Currently that was not possible to allow login via email only, unless you enabled this option 'Use Email as Username' from backend setting, but this will only affect with the new registration user, those existing user still can able to login with their username.
·
Monday, 21 August 2017 09:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex

Thanks for your response.
I was looking at this here:
http://www.lunarhotel.co.uk/get-joomla-emailasusername
But whilst they do support a whole range of extensions...
I believe that they have to use the Joomla login process.
Do you happen to know of any plugin that might play ball with Easy Social?

thanks all the same

Paul
·
Monday, 21 August 2017 14:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Currently I am not really sure which 3rd party extension able to achieve this, but you can just modify on this file JoomlaFolder/plugins/authentication/joomla/joomla.php


// line 48
->where('username=' . $db->quote($credentials['username']));

// replace to
->where('email=' . $db->quote($credentials['username']));


So the system will only match with email address instead of username.
·
Monday, 21 August 2017 17:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Alrlex

Thanks I will check this out.

all the best

Paul
·
Monday, 21 August 2017 18:17
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome.
·
Monday, 21 August 2017 18:49
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post