T
T
teodor7teodor72016-07-15 12:04:10
Yii
teodor7teodor7, 2016-07-15 12:04:10

Yii2 how to store password hash via REST?

Tell me, do I need to save the password using REST when creating a user, do I need to override the method, or can I write a rule? Share

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Fedorov, 2016-07-15
@qonand

if I understand the problem correctly, use generatePasswordHash to encrypt the password , if you wish, you can also hang it on validation

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question