imanghafoori1 / laravel-password-history Goto Github PK
View Code? Open in Web Editor NEWKeep a password history of your users to prevent them from reusing the same password.
License: MIT License
Keep a password history of your users to prevent them from reusing the same password.
License: MIT License
Hello Iman,
It seems you haven't released the latest version of this package on packagist. Latest version there is v0.0.2 which has error at installation process.
I started digging into the source code and found out the error is because of a bug which is fixed in v0.1.0
Am I missing something or you have to release the latest version ?
Hi, +1 for this package, I have an issue where I actually create Models directory to be more modular Models/User.php
and thus it sees the App\User.php
instead of App\Models\User.php
however thats not an issue cause we could modify just that line. Could this be made optional as of now it can't publish to vendor
Error
Class 'App\User' not found
at vendor/imanghafoori/laravel-password-history/src/PasswordHistoryServiceProvider.php:31
27| {
28| $userModels = array_keys(config('password_history.models'));
29|
30| foreach ($userModels as $userModel) {
> 31| $userModel::observe(UserObserver::class);
32| }
33| }
34|
35| private function setMigrationFolder()
+9 vendor frames
10 [internal]:0
Illuminate\Foundation\Application::Illuminate\Foundation\{closure}(Object(Imanghafoori\PasswordHistory\PasswordHistoryServiceProvider))
+5 vendor frames
16 artisan:37
Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
this packages do not support yet for laravel 8.
it was give me an error while installing Class 'App\User' not found. where it is in default config of this packages.
please update for default config file. thanks
Sorry to raise an issue before there is actually any code, but how would one go about saving a history of hashed passwords? If I'm not mistaken, the password hash is based on the app key generated. If the app_key is ever changed wouldn't that fail any history checks?
Hello,
I use different connections to different databases,
how can i tell your plugin which connection i am working on?
br
Max
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.