Skip to content

Commit

Permalink
Fix password2
Browse files Browse the repository at this point in the history
  • Loading branch information
asika32764 committed Jan 30, 2024
1 parent f101048 commit 21d966b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Module/Front/Registration/RegistrationView.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ public function prepare(AppContext $app, View $view): array|RouteUri
$form->setNamespace('user')
->fill($app->getState()->getAndForget('reg.data') ?? []);

$form['password2']?->required(true);

$view->setTitle($this->trans('luna.registration.title'));

return compact('form');
Expand Down

0 comments on commit 21d966b

Please sign in to comment.