Eduardo Fuerte
asked on
Could you point what is the default algorithm to create passwords in CakePHP 3 ?
Hi Experts
Could you point what is the default algorithm to create passwords in CakePHP 3 ?
I need to create a mock user to start testing an CakePHP 3 app - so a line must be included in the Users table
with a login and correspondent password.
Thanks in advance!
Could you point what is the default algorithm to create passwords in CakePHP 3 ?
I need to create a mock user to start testing an CakePHP 3 app - so a line must be included in the Users table
with a login and correspondent password.
Thanks in advance!
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Given that's the case, go through their example applications. The blog tutorial covers everything you need to know in a very hands on approach, culminating with the authentication: https://book.cakephp.org/3.0/en/tutorials-and-examples/blog-auth-example/auth.html
You say you already have a cake installation. How is the user authentication being done now?
You say you already have a cake installation. How is the user authentication being done now?
ASKER
Since the bookmarker project on cakePHP's docs that you suggested me - is very didactical and we could easily discuss about it, I'm focusing on it.
My "thinking" line:
So I created the table Users and insert an user:
I only "guess" it uses a SHA1 algorithm - I obtained elsewhere the value that corresponds to "XXXX" - the password:
An try to use it:
This error arises:
The Cake's code:
Could you give me a guidance on where and how I'm misconcepting things?
(sorry if I'm abusive)
My "thinking" line:
So I created the table Users and insert an user:
I only "guess" it uses a SHA1 algorithm - I obtained elsewhere the value that corresponds to "XXXX" - the password:
An try to use it:
This error arises:
The Cake's code:
Could you give me a guidance on where and how I'm misconcepting things?
(sorry if I'm abusive)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Rob
I'm studying what you suggested and Cake as a whole and will return ASAP.
I'm studying what you suggested and Cake as a whole and will return ASAP.
ASKER
Thank you Rob
After some more exercices I had a clearer overall comprehension and test it.
After some more exercices I had a clearer overall comprehension and test it.
ASKER
Really I need to gain more in depht concepts about CakePHP.
I start using the material, it looks very didactical
If you know any other didatical material that you could inform also...