php - phpass FRAMEWORK- ERROR -


I test the phpass structure, and in the [demo one to four], they work without problems Are there. / P>

But in the example 5 and 6 I got an error "An error occurred (bad passphrase (failed check))." When I try to create a new user

I just test the demo, I do not make any changes

What's the problem?

You seem to be following the article that the fapes authors a little earlier wrote. I say "so-called" because it is not exactly tutorial, but a long article of best practice while setting up an authentication system in PHP.

The tutorial is not part of the code of the library, and then will not help you use the library more effectively < However, this is a good article and is really worth reading and understandable.

Error Bad passphrase (check failed) is coming from the Pwqcheck function, which attempts to find an external binary by that name. This error can be triggered by either failing to execute the program with a low-quality password or . This is not a bad design because it is not clear what is happening.

Please go back to the article and read it from the top. If you are missing out in detail that function is going on (or you have explained it, you can not immediately tell that what you need to do to solve the problem), then you are sure You will not miss any other details.

Comments