my first module, wow four years ago already, proud to say never a bug.
you can review the module here:
I flip the native PrestaShop catalog mode switch depending on logged/not-logged and at registration it does not default account as enabled. Then there are controls at module level for approval, sending emails etc.
Happy day, el
.png.022b5452a8f28f552bc9430097a16da2.png)