You are hereBlogs / mehow's blog / Soteshop - how to add admin user in database?

Soteshop - how to add admin user in database?


By mehow - Posted on 04 February 2016

Do you need to add admin user in SOTE SHOP backend?

Just find sf_guard_user table in Sote Shop database, insert new record with your email, password hashed by SHA1 function and 'is_super_admin' field set to 1.

ID of the record you just added link to admin group, which usually has ID set to 1, by inserting a new record in table sf_guard_user_group.

That's it, you are done! Solution tested in Sote 5.2.4

Tags