Author Topic: Emailvalidation screws up after requesting Forgotten PW with a new char  (Read 2812 times)

Nightborn

  • Administrator
  • Sr. Member
  • *****
  • Posts: 320
  • Karma: +20/-0
    • View Profile
    • Shinobilegends
If you had a new char - never got the first mail and THEN requested a forgotten pw -> you could never login without  the first mail...

create.php

fix this line
Code: [Select]
22         $sql = "SELECT acctid,login,superuser,password,name,replaceemail,emailaddress,emailvalidation FROM ". db_prefix("accounts") . " WHERE forgotten    password='$id' AND forgottenpassword!=''";

I forgot the "emailvalidation" field...shame on me.

Updated in 1.2.0 and 1.2.1
It should be fixed, but it won't be easy and it won't be fast. If you want
to help - wonderful. But keep in mind that it will take months of wading
through the ugliest code we have in the tree. If you've got a weak stomach -
stay out. I've been there and it's not a nice place.

   - Al Viro