Author Topic: Manually creating record for new user  (Read 4750 times)

Offline jsmo

  • Newbie
  • *
  • Posts: 5
Manually creating record for new user
« on: March 24, 2018, 03:14:35 AM »
Hello,

I understand that we can avoid RC to auto-create the user record in the database at 1st login. I would like to create these records myself before the first login.

In the USERS there is the record "preferences".

For example:

a:4:{s:11:"client_hash";s:16:"H66zZssclOBJgTKk";s:11:"drafts_mbox";s:6:"Drafts";s:9:"sent_mbox";s:4:"Sent";s:10:"trash_mbox";s:5:"Trash";}

My question: What is this
s:16:"H66zZssclOBJgTKk"

A password hash? But in which "system"? How can I hash the user password myself to write it in the base?

Other parameters are understood.

Thank you

Offline alec

  • Hero Member
  • *****
  • Posts: 1,363
Re: Manually creating record for new user
« Reply #1 on: March 24, 2018, 03:33:07 AM »
No, it is a random string used to identify the user in some situations. You can skip it. Best you just set preferences to NULL.