Help ASAP IlluminaCMS-->UberCMS?

jakob215180

Member
Aug 7, 2013
113
4
I am going from IlluminaCMS to UberCMS, as I just purchased a custom CMS from someone, and it is phoenix compatible.
How do I change the hashes to work with ubercms from illumina?
Please help, thanks
 

Khalil

IDK
Dec 6, 2011
1,642
786
What hashes? Uber uses md5, and so does Illumina.

Uber 2.0:
PHP:
function UserHash($password, $username) {
    return sha1(md5($password) . strtolower($username));
}


Illumina:
PHP:
public function userHash($password, $username) {
    global $light;
    if($light->hashing_method == "Normal") {
        return sha1(md5($password) . strtolower($username));
    } else if($light->hashing_method == "MD5") {
        return md5($password);
    }
}

Is that what you were asking about?
 

Users who are viewing this thread

Top