Kevin M. Brooks (lucretio) wrote in lj_dev,
Kevin M. Brooks
lucretio
lj_dev

[PATCH] fix login bug.

The problem: Logging in on my goathack (running the latest code) wasn't setting the cookies properly.

The fix: Using an array wasn't necessary, or at least wasn't working. I got rid of the $etime's and made it a single scalar.

Example:
- $COOKIE{'ljuser'} = [ $user, $etime ];
+ $COOKIE{'ljuser'} = $user;
Test: http://goathack.livejournal.org:8030/login.bml , using test/test

Patch: 2002-05-26-login.bml.diff


Update: This was wrong.
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 7 comments