Skip to main content

I Disable My Admin Login In User Setting

Comments

1 comment

  • 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

Please sign in to leave a comment.

Powered by Zendesk