Page 1 of 1

How phpBB add users

Posted: Fri Feb 19, 2016 8:30 am
by zenit10
Morning.
I was taking a look to the code of phpBB and i have to say that it is a great job.

I was interested to know about how phpbb encrypt the user's password and i came across with the function add_user and within it... this:

'user_password' => (isset($user_row['user_password'])) ? $user_row['user_password'] : '',

here.. user_row is a variable that is inserted with the function

function user_add($user_row, $cp_data = false)

my question is... at what point phpbb encrypt the user's password using md5?

thanks

Re: How phpBB add users

Posted: Fri Feb 19, 2016 12:24 pm
by kasimi
Take a look at ucp_register.php.

Re: How phpBB add users

Posted: Sun Feb 21, 2016 10:43 pm
by zenit10
thanks a lot kasimi