Roundcube Community Forum

Release Support => Release Discussion => Topic started by: jsmo on March 24, 2018, 03:14:35 AM

Title: Manually creating record for new user
Post by: jsmo 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
Title: Re: Manually creating record for new user
Post by: alec 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.