feat: local password reset

This commit is contained in:
Björn Fromme committed 2026-06-23 16:27:08 +02:00
1 parent fe562e5e73
commit 8bb7f08074
11 files changed
+688 -19

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20260518120000 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add password reset nonce to users';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE user ADD password_reset_nonce VARCHAR(64) DEFAULT NULL');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE user DROP password_reset_nonce');
}
}