Merge pull request #277 from chriscct7/gh-pages

Finally Block and Change of Tense on Referring to Password_hash
This commit is contained in:
Josh Lockhart
2013-07-04 11:50:06 -07:00
2 changed files with 5 additions and 1 deletions

View File

@@ -38,6 +38,10 @@ catch(Fuel\Email\SendingFailedException $e)
{
// The driver could not send the email
}
finally
{
// Use this to let user know email was sent
}
{% endhighlight %}
### SPL Exceptions

View File

@@ -10,7 +10,7 @@ It is important that you properly [_hash_][3] passwords before storing them. Pas
**Hashing passwords with `password_hash`**
In PHP 5.5 `password_hash` will be introduced. At this time it is using BCrypt, the strongest algorithm currently supported by PHP. It will be updated in the future to support more algorithms as needed though. The `password_compat` library was created to provide forward compatibility for PHP >= 5.3.7.
In PHP 5.5 `password_hash` was introduced. At this time it is using BCrypt, the strongest algorithm currently supported by PHP. It will be updated in the future to support more algorithms as needed though. The `password_compat` library was created to provide forward compatibility for PHP >= 5.3.7.
Below we hash a string, we then check the hash against a new string. Because our two source strings are different ('secret-password' vs. 'bad-password') this login will fail.