login user mbshop_customer code
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 21
- Joined: 12 Oct 2015, 12:31
login user mbshop_customer code
Hi,
How can I login using the mbshop_customer code (User Name) rather than the email address?
Thanks
How can I login using the mbshop_customer code (User Name) rather than the email address?
Thanks
Re: login user mbshop_customer code
In Laravel applications, the "mshop_customer" table isn't used. Instead, the "users" table provided by Laravel stores all customer details. Please have a look at the Laravel documentation if it's possible what you are looking for.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Posts: 21
- Joined: 12 Oct 2015, 12:31
Re: login user mbshop_customer code
Hi,
Do I need to change something in the config to use the laravel users table? When I create a user it gets's put into the mshop_customer table?
It's the same as auth if I'm using the laravel users table it won't log in as the username and password is inside mshop_customer
I noticed this issue a few months ago now.
Do I need to change something in the config to use the laravel users table? When I create a user it gets's put into the mshop_customer table?
It's the same as auth if I'm using the laravel users table it won't log in as the username and password is inside mshop_customer
I noticed this issue a few months ago now.
-
- Posts: 21
- Joined: 12 Oct 2015, 12:31
Re: login user mbshop_customer code
Even with "aimeos/aimeos-laravel": "~2016.01" I still get the same issue...
Is there anything I need to change in my code to get the customers storing in the users table?
Is there anything I need to change in my code to get the customers storing in the users table?
Re: login user mbshop_customer code
I think, you are missing some configuration in "./config/shop.php".
For 2016.x:
For 2015.x:
For 2016.x:
Code: Select all
'mshop' => array(
'customer' => array(
'manager' => array(
'name' => 'Laravel',
'password' => array(
'name' => 'Bcrypt',
),
),
),
Code: Select all
'classes' => array(
'customer' => array(
'manager' => array(
'name' => 'Laravel',
),
),
),
'mshop' => array(
'customer' => array(
'manager' => array(
'password' => array(
'name' => 'Bcrypt',
),
),
),
),
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Posts: 21
- Joined: 12 Oct 2015, 12:31
Re: login user mbshop_customer code
Hi,
This worked perfectly, I was using the config from 2016 but I had 2015 installed.
thanks
This worked perfectly, I was using the config from 2016 but I had 2015 installed.
thanks