We want to get rid of the username.
Customers should only use email/password for login/register, because many people choose names that they dont remember later.
What do we have to change?
19.07.2016 08:27
|
|
jerry2014
Name: jerry2014
13.09.2014
Posts: 102
|
|
19.07.2016 10:29
|
|
admin
(Support Team) Name: Admin
05.08.2010
Posts: 25919
|
|
19.07.2016 16:52
|
|
jerry2014
Name: jerry2014
13.09.2014
Posts: 102
|
|
19.07.2016 18:04
|
|
midiplus
Name: Anton
03.07.2013
Posts: 1927
|
|
28.07.2016 22:12
|
|
jerry2014
Name: jerry2014
13.09.2014
Posts: 102
|
|
03.08.2016 04:17
|
|
jerry2014
Name: jerry2014
13.09.2014
Posts: 102
|
Aw: Login with email instead of username
jerry2014 - 28.07.2016 22:12 When an user change his email, the login email is not changed. I changed the following lines myself. This does the job: file: components\com_jshopping\models\useredit.php line 78-80: public function userSave(){ return $this->user->store(); } change to: public function userSave(){ $this->user->u_name = $this->user->email; return $this->user->store(); } line 91-93: if ($user_shop->email){ $user->email = $user_shop->email; } change to: if ($user_shop->email){ $user->email = $user_shop->email; $user->username = $user_shop->email; }
Last change: 03.08.2016 06:45
|