Recommend this page to a friend! |
Classes of Edward Paul | Laravel Password History Validation | README.md | Download |
|
DownloadLaravel Password History ValidationPrevent users from reusing recently used passwords. InstallationYou can install the package via composer:
ConfigurationTo get started, you'll need to publish the config file, and migrate the database:
Modify the config file according to your project, then migrate the database
UsageThis package will observe the created and updated event of the models (check the config file for settings) and records the password hashes automatically. In Your Form Request or Inline Validation, All You Need To Do Is Instantiate The
Cleaning Up Old Record - (Optional)Because We Are Storing The Hashed Password In Your Database, Your Database Can Get Long When You Have Lots Of Users Add PasswordHistoryTrait To Your User Model
Then You Can Run The Following Artisan Command
ChangelogPlease see CHANGELOG for more information what has changed recently. ContributingPlease see CONTRIBUTING for details. SecurityIf you discover any security related issues, please email infinitypaul@live.com instead of using the issue tracker. How can I thank you?Why not star the github repo? I'd love the attention! Why not share the link for this repository on Twitter or HackerNews? Spread the word! Don't forget to follow me on twitter! Thanks! Edward Paul. LicenseThe MIT License (MIT). Please see License File for more information. |