mastani / nova-password-reset

Reset your nova password easily from top navigation.

Stars
5

Laravel Nova Password Reset Tool

This is a package for Laravel Nova which allows you to easily reset your nova password.

Total Downloads
Latest Stable Version
Latest Unstable Version
License

Screeenshots

Laravel Nova Password Reset

Requirements

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

Amin Mastani

Newton Evangelista

License

The MIT License (MIT). Please see License File for more information.