fix: 🗃️ rename user reset password table

This commit is contained in:
Alexis Gousseau 2026-04-30 15:42:58 +02:00
parent b2befb0a21
commit 889bd85493
No known key found for this signature in database
GPG key ID: 7F3C786EE12DBB72
2 changed files with 3 additions and 3 deletions

View file

@ -88,7 +88,7 @@ return [
'passwords' => [
'backend' => [
'provider' => 'users',
'table' => env('AUTH_PASSWORD_RESET_TOKEN_TABLE', 'password_reset_tokens'),
'table' => env('AUTH_PASSWORD_RESET_TOKEN_TABLE', 'user_password_reset_tokens'),
'expire' => 60,
'throttle' => 60,
],

View file

@ -13,7 +13,7 @@ return new class extends Migration
*/
public function up(): void
{
Schema::create('password_reset_tokens', function (Blueprint $table): void {
Schema::create('user_password_reset_tokens', function (Blueprint $table): void {
$table->string('email')->primary();
$table->string('token');
$table->timestamp('created_at')->nullable();
@ -27,6 +27,6 @@ return new class extends Migration
*/
public function down(): void
{
Schema::dropIfExists('password_reset_tokens');
Schema::dropIfExists('user_password_reset_tokens');
}
};