Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

Утеряны данные для входа в админ панель.


Recommended Posts

Добрый гдень!

Есть сайт http://asspak.com

Утеряны данные для входа в админ панель.

Подскажите пожалуйси порядок и варианты воссиновления доступа к сайту.

Благодарим!

Link to comment
Share on other sites


Помещаем это код, например, в controller/common/header.php

$this->session->data['token'] = token(32);
$this->session->data['user_id'] = 1; // порядковый номер админа
echo $this->session->data['token'];

Открываем сайт, копируем токен и подсивляем к нашей админке:

http://site.ru/admin/index.php?route=common/dashboard&token=сюда

Link to comment
Share on other sites

Как 1 из вариантов. Лично я, через базу данных или скриптом для доб. нового администратора.

 

Написал в личку, могу помочь.

Edited by maple_leaf
Link to comment
Share on other sites


В базе данных...

Открываете иблицу oc_user
username : admin
password ead2c910b19a36ce668174d81d432cf80fad6133
salt :  ca3ac07f9

Сохраняете изменения
В итоге бугдет пароль 1 , логин admin

http://joxi.ru/KAxMX0bfvPdpar

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.