mastani / nova-password-reset
Reset your nova password easily from top navigation.
Installs: 54 361
Dependents: 0
Suggesters: 0
Security: 0
Stars: 9
Watchers: 4
Forks: 12
Open Issues: 5
Language:Vue
Requires
- php: >=7.1.0
This package is auto-updated.
Last update: 2024-10-26 20:21:14 UTC
README
This is a package for Laravel Nova which allows you to easily reset your nova password.
Screeenshots
Requirements
- PHP >= 7.1
- Laravel application with Laravel Nova installed
Installation
Install the package via composer:
$ composer require mastani/nova-password-reset
Publish the view (Will overwrite 'user.blade.php' which is provided by nova):
php artisan vendor:publish --force --provider="Mastani\NovaPasswordReset\ToolServiceProvider" --tag="nova-views"
Register the tool in the tools
method of the NovaServiceProvider
:
// app/Providers/NovaServiceProvider.php
// ...
public function tools()
{
return [
// ...
new \Mastani\NovaPasswordReset\NovaPasswordReset,
];
}
Customizations (Optional)
If you want to specify the min length of password you can publish the config file:
php artisan vendor:publish --provider="Mastani\NovaPasswordReset\ToolServiceProvider" --tag="config"
Now head over to "config/nova-password-reset.php" and you can change the value:
'min_password_size' => 5
You can also use English or Portuguese language or add your own translation:
php artisan vendor:publish --provider="Mastani\NovaPasswordReset\ToolServiceProvider" --tag="translations"
Contributors
License
The MIT License (MIT). Please see License File for more information.