Working with users/Creating Users external
If you can create a user with the following:
$profile->setLogin('bit-bucket@x-cart.com');
$profile->setPassword(\XLite\Core\Auth::encryptPassword('te ster'));
Is there a way to set the user access level to Admin instead of Customer?
Any help is appreciated.
Thanx
__________________
V5.2.13
|