Admin panel
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: 10
- Joined: 08 Sep 2023, 08:52
Admin panel
When I installed aimeos package in my Laravel project (with Jetstream) I tried to go to the admin page (path: /admin) I was redirected to /dashboard of Laravel app. How can I have access to the admin page?
Re: Admin panel
You user must have super, admin or editor privileges and you can create such users (or update existing users) by executing:
Code: Select all
php artisan aimeos:account --super <email>
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: 10
- Joined: 08 Sep 2023, 08:52
Re: Admin panel
I created a super account but I still redirect to Laravel dashboard. Do I need to add additional configuration to the route file or something else?aimeos wrote: ↑05 Oct 2023, 09:37 You user must have super, admin or editor privileges and you can create such users (or update existing users) by executing:Code: Select all
php artisan aimeos:account --super <email>
Re: Admin panel
If you don't use the Aimeos distribution, standard Laravel setups always redirect to the dashboard after login by default instead of the last URL. Check the files in the ./app/Http/ directory.
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: 10
- Joined: 08 Sep 2023, 08:52
Re: Admin panel
The Aimeos distribution uses Laravel Breeze instead of Jetstream so it may require changing different files. In the distribution, these lines are relevant:
- https://github.com/aimeos/aimeos/blob/m ... er.php#L20
- https://github.com/aimeos/aimeos/blob/m ... er.php#L33
- https://github.com/aimeos/aimeos/blob/m ... er.php#L20
- https://github.com/aimeos/aimeos/blob/m ... er.php#L33
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