Undefined variable $__env (View: /var/www/html/public) (View: /var/www/html/resources/themes/velocity/views/home/index.blade.php)
Whenever i try to run npm run production and npm run watch in pacakages/webkul/admin, packages/webkul/ui and packages/webkul/shop, The following error occurs.How to solve it
Registration approval by admin
wshomeworker20 last edited by
I've found this old thread: https://forums.bagisto.com/topic/1429/user-registration-approval
I'm looking for the same thing so if a user registers, an admin needs to approve their account before they can do anything at all.
As I undersand this is not a built in feature in Bagisto, however I would like to ask what would the main steps of implementing this feature be?
AshJi last edited by
Such check can easily be implemented with hooks. Not sure whether Bagisto provides option to create hooks.
For this user req, as soon as any user registers, a 'post registration hook' be invoked which will set the status to "Inactive". Then Admin has to go and manually activate the user.