Customer Acc Registration and Admin Login
					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!
- 
				sedersmith
- Posts: 1
- Joined: 06 Dec 2019, 10:58
Customer Acc Registration and Admin Login
Hi team, 
Kindly give me step by step guide that I which customer can register and login to their account and customer can only see their details and order details.
and the second thing is I want to redirect the customer to their dashboard means if admin is login it should go to the admin dashboard and if a simple customer in login then the customer should go to their panel.
Regards,
Seder Smith
			
			
			
													Kindly give me step by step guide that I which customer can register and login to their account and customer can only see their details and order details.
and the second thing is I want to redirect the customer to their dashboard means if admin is login it should go to the admin dashboard and if a simple customer in login then the customer should go to their panel.
Regards,
Seder Smith
					Last edited by sedersmith on 10 Dec 2019, 18:55, edited 1 time in total.
									
			
									
						Re: Customer Acc Registration and Admin Login
This is standard Laravel stuff:sedersmith wrote: ↑06 Dec 2019, 11:04 Kindly give me step by step guide that I which customer can register and login to their account and customer can only see their details and order details.
https://laravel.com/docs/6.x/authentication
A short summary how to set up authentication (applies to admins and users) is here:
https://github.com/aimeos/aimeos-laravel#admin
That's more difficult because by default, both use different URLs:sedersmith wrote: ↑06 Dec 2019, 11:04 and the second thing is I want to redirect the customer to their dashboard means if admin is login it should go to the admin dashboard and if a simple customer in login then the customer should go to their panel.
- admin: .../admin
- user: .../myaccount
You would need to create a new Laravel controller that does authentication manually and redirect to the appropriate URLs. You can use the admin controller as reference:
https://github.com/aimeos/aimeos-larave ... roller.php
Professional support and custom implementation are available at  Aimeos.com
If you like Aimeos, give us a star
 give us a star
						If you like Aimeos,
 give us a star
 give us a star Star Repo
					Star Repo
				