nemesis1988 / ResetPasswordObserver by nemesis1988

Generate reset_password_token
253
0
2
Package Data
Maintainer Username: nemesis1988
Maintainer Contact: bondarenko.kirill@gmail.com (Bondarenko Kirill)
Package Create Date: 2016-05-31
Package Last Update: 2016-05-31
Language: PHP
License: Unknown
Last Refreshed: 2024-11-22 03:04:08
Package Statistics
Total Downloads: 253
Monthly Downloads: 3
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

Generate Reset Password Observer

Usage

Append observer to model boot method:

    public static function boot()
    {
        parent::boot();

        User::observe(app(GenerateResetPasswordTokenObserver::class));
    }

In the model should be reset_password_token field