Armathentication
Re: Armathentication
It's phpbb3, you can download it off their website. You know what you are looking for.

Re: Armathentication
That one definitely needs modifications to store a hash armathentication can use. Tank has set up the system we use here, I suggest we just wait for him to tell us what he did. Or maybe look around for documentation he left.
- AI-team
- Shutout Match Winner
- Posts: 1020
- Joined: Tue Jun 23, 2009 6:17 pm
- Location: Germany/Munich
- Contact:
Re: Armathentication
I just did the following:
Just modify the function phpbb_check_hash in the file includes/functions
Even if that's not the best way to do it , it's easy and works fine for me =]
Just modify the function phpbb_check_hash in the file includes/functions
Code: Select all
function phpbb_check_hash($password, $hash)
{
$itoa64 = './0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';
if (strlen($hash) == 34)
{
return (_hash_crypt_private($password, $hash, $itoa64) === $hash) ? true : false;
}
if(md5($password) === $hash) {
$md5_pw = md5($password);
mysql_connect('','','');
mysql_select_db('');
mysql_query('UPDATE phpbb_users set user_password_armaauth = $md5_pw where user_id = $row[user_id]');
return true;
}
else return false;
}
"95% of people believe in every quote you post on the internet" ~ Abraham Lincoln
- Tank Program
- Forum & Project Admin, PhD
- Posts: 6712
- Joined: Thu Dec 18, 2003 7:03 pm