Thanks  I was  able to get  away  with    removing the flag.  I also  needed  to add them  back into  into the  group_user  table.

On 19/05/2021 01:22, Maxim Solodovnik wrote:
if the user was "soft" deleted:
        you can remove "deleted" flag in the DB
if the user was purged:
        - create new user
        - add ADMIN permission in the DB "om_user_right" table

On Wed, 19 May 2021 at 03:39, Daniel Baker <[email protected] <mailto:[email protected]>> wrote:

    I accidentally  deleted  the admin user from  the delete  user API
    call. Now I can't log in as  admin.


    How can recreate the admin user ?

    Thanks,

    Dan



--
Best regards,
Maxim

Reply via email to