Show
Ignore:
Timestamp:
04/16/06 19:02:08 (3 years ago)
Author:
sdcosta
Message:

Changes to the login system so that the password is not sent in cleartext and firefox remembers it. Mobile login will be fixed in the next changeset.
Please reset your password using the password reset plugin http://plugins.gregarius.net/index.php?req=info&id=29

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/rss/admin/index.php

    r1424 r1441  
    8181        $admin_uname = null; 
    8282        $admin_pass = null; 
    83         if (isset($_POST['admin_uname']) && isset($_POST['admin_pass'])) { 
    84             $admin_uname = $_POST['admin_uname']; 
    85             $admin_pass = $_POST['admin_pass']; 
     83        if (isset($_POST['username']) && isset($_POST['password'])) { 
     84            $admin_uname = $_POST['username']; 
     85            $admin_pass = $_POST['password']; 
    8686        } 
    8787        set_admin_pass($admin_uname,$admin_pass);