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 »

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: 4561
Joined: Sat Sep 10, 2011 7:12 pm
Location: Germany
Contact:

Re: How phpBB add users

Post by kasimi »

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 »

thanks a lot kasimi
Post Reply

Return to “Extension Writers Discussion”