Hello guys,
I’m very new to the Yii Framework, however, as building a project from the start, I’m trying to implement the most secure system I can have.
I’ve been reading about bCrypt, so I gave it a try.
However, when reading the article in the Wiki that talks about it - http://www.yiiframework.com/wiki/292/secure-password-hashing-with-bcrypt/ - i’ve spotted two things.
-
The algorithm being used - salsa20 - is not used in PHP5.4 upwards anymore
-
It was returning an error when trying to login, after following every instructions
I’m getting this error after filling the username and the password in the login screen.
Non-static method bCrypt::verify() should not be called statically, assuming $this from incompatible context
I don’t understand what is the origin of the problem, but my first guess would be that it was not detecting the class, but I am sure it is. At least, it was in the view, when I’ve created a very simple PHP just to generate a random password using this to store in database, and it was working with no problem.
Any suggestions?
Thanks!