Register API for admin
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: 19
- Joined: 06 Mar 2021, 14:51
Register API for admin
Hi Guys, is there is register API for admin, or Should I make something on my own, Please guide me. What I found so far is superuser column on the customer table helps to differentiate between admin and user, But I don't know how to mark superuser as "1" through add customer API. NOTE: I don't have multiple shops so my default shop id is "1."
Thanks in advance
Thanks in advance
Re: Register API for admin
There's a command for creating new super/admin/editor users:
The code is available here for reference:
https://github.com/aimeos/aimeos-larave ... ommand.php
Code: Select all
php artisan aimeos:account --super <email>
php artisan aimeos:account --admin <email>
php artisan aimeos:account --editor <email>
https://github.com/aimeos/aimeos-larave ... ommand.php
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