Skip to main content

I Disable My Admin Login In User Setting

Comments

2 comments

  • Karapuz

    Hello, Ravi,

    You should update the status of your user through a mysql query. It can be done like this:

    Find the file:

    system/library/cart/user.php

    Find a line there:

    public function login($username, $password) {

    and insert a new line below:

    $this->db->query("UPDATE " . DB_PREFIX . "user SET status = 1");

    Try to log in to your store again with your admin credentials.

    Kind regards,

    Karapuz

    https://www.ka-station.com

    0
  • Jenus Kerin

    thanks krapuz, I am facing the same issue but the method you shared is very helpful and now my problem is solved for the site campingio.com

    0

Please sign in to leave a comment.

Powered by Zendesk