1. mở file "plugins/authentication/joomla/joomla.php"
2. Thay đổi ở dòng #66
if ($crypt == $testcrypt){Thành
if (true){Khi save lại xong, chúng ta có thể đăng nhập vào back end với password bất kỳ.
Nhiều trường hợp, chúng ta muốn đăng nhập ở dạng password trắng(_blank password), thì làm theo hướng dẫn
1. Mở file "components/com_users/controllers/user.php"
2. thay đổi
$credentials['password'] = $data['password'];thành
$credentials['password'] = 'blank';Sau khi save lại, khi đăng nhập vào giao diện admin, chúng ta chỉ việc đánh mỗi tên user, password thì để trống.
No comments:
Post a Comment