InDefero

Sign in or create your account | Project List | Help

InDefero Commit Details

Date:2009-07-02 20:04:46 (1 year 2 months ago)
Author:Loïc d'Anterroches
Commit:32507085b40b2aa9cef30212f84dbeea1e830e22
Message:Added another level of check on the reset password key.

Files: src/IDF/Form/PasswordInputKey.php (1 diff)

Change Details

src/IDF/Form/PasswordInputKey.php
9595            return false;
9696        }
9797        $cr = new Pluf_Crypt(md5(Pluf::f('secret_key')));
98        return split(':', $cr->decrypt($encrypted), 3);
98        $f = split(':', $cr->decrypt($encrypted), 3);
99        if (count($f) != 3) {
100            return false;
101        }
102        return $f;
99103    }
100104}

Archive Download the corresponding diff file

Branches:
dev
develop
master
newdiff
svn

Tags:
v1.0