How phpBB add users

Discussion forum for Extension Writers regarding Extension Development.
Post Reply
zenit10
Registered User
Posts: 34
Joined: Thu Jan 27, 2011 3:54 pm

How phpBB add users

Post by zenit10 » Fri Feb 19, 2016 8:30 am

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

User avatar
kasimi
Extension Customisations
Extension Customisations
Posts: 2167
Joined: Sat Sep 10, 2011 7:12 pm
Location: Germany
Contact:

Re: How phpBB add users

Post by kasimi » Fri Feb 19, 2016 12:24 pm

Take a look at ucp_register.php.

zenit10
Registered User
Posts: 34
Joined: Thu Jan 27, 2011 3:54 pm

Re: How phpBB add users

Post by zenit10 » Sun Feb 21, 2016 10:43 pm

thanks a lot kasimi

Post Reply

Return to “Extension Writers Discussion”

Who is online

Users browsing this forum: No registered users and 3 guests