No Password required

Issue #132 resolved
Former user created an issue

Originally reported on Google Code with ID 132

I set my database and phpLiteAdmin.php in a secure .htaccess folder. so i don't need
to set a password for phpLiteAdmin and even if i leave $password=""; empty i still
see the login site. Thats why i need to change the code: 

Line: 288 

public function isAuthorized()
{
   global $password;
   if ($password == '') { return true; }
...


is it ok?

Reported by teryaki1963 on 2012-11-05 03:11:00

Comments (1)

  1. Christopher Kramer
    Yes, looks okay. I would use SYSTEMPASSWORD instead of $password. But doesn't make much
    of a difference.
    
    As you already committed this in svn, I am marking it as fixed.
    

    Reported by crazy4chrissi on 2012-11-06 13:32:37 - Status changed: Fixed

  2. Log in to comment