Changing Your Password Reminder Table

Problem

You want to use a different password reminder table.

You know Laravel is set up to use the password_reminders table by default, but you want a different table for your application.

Solution

Edit your app/config/auth.php file.

    'reminder' => array(
        'table' => 'password_reminders',
    ),

Change the table value to the table name you wish to use.

Discussion

Don't forget to update your migrations.

If you're using artisan to create the table (see Creating a Migration for Password Reminders), make sure you update your migration.

Or you could create a migration for your table from scratch. See Creating a New Migration.

comments powered by Disqus