Set password

Set password

INTONEINTONE Posts: 153Questions: 58Answers: 6

I would like to set a hash and salt from the php server script . I do not want to pass it from the browser client to the script. How can I do this? I have looked through the docs but it does not reveal a value setter for server fields. Could some one please point me in the right direction?

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    Answer ✓

    You could use the setFormatter option for the Field class (docs.

    That provides the ability to modify the data sent from the client to match whatever you need - for example you could use the PHP's password_hash, or bcrypt or anything else.

    Allan

This discussion has been closed.