Author Topic: [1.7.10] Fix for Auto-Login  (Read 8791 times)

0 Members and 1 Guest are viewing this topic.

Offline kai

  • Administrator
  • Addicted member
  • *****
  • Posts: 1.421
    • View Profile
    • 4images - Image Gallery Management System
[1.7.10] Fix for Auto-Login
« on: June 15, 2011, 05:11:29 PM »
If the auto-login is not working on your 1.7.10 installation of 4images please use this fix:

in includes/session.php

find

$this->set_cookie_data("userpass"$this->user_info['user_password']);

and replace with

$this->set_cookie_data("userpass"md5($this->user_info['user_password']));
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search