期限切れパスワードのリマインダーをクリアする
artisan
authentication
password reminders
悩み事
パスワードリマインダーテーブルに多くのレコードがあるため巨大になってきている
解決方法
php artisan auth:clear-reminders
コマンドが利用できます
このコマンドはpassword_reminders
テーブルから期限切れトークンを全て削除します
$ php artisan auth:clear-reminders
アドバイス
定期的にコマンドを実行してください
1日1回、もしくは1週間に1回はcronのジョブでコマンドを実行することになるでしょう
Author:Chuck Heintzelman
Category
- App 29
- Artisan 28
- Auth 36
- Basic Development 4
- Blade 23
- Cache 25
- Config 5
- Configuration 12
- Controller 3
- Cookie 2
- Core Extension 7
- Crypt 6
- DB 4
- Database Configuration 3
- Eloquent 0
- File 26
- Form 30
- Hash 1
- Help 2
- Html 17
- Installation 13
- Lang 6
- Middleware 2
- Paginator 1
- Route 1
- Session 0
- Solution 2
- Service Provider 1
- Testing 2
- Packages by 3rd Parties 0