Skip to content

Commit

Permalink
fix: Recover functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
famoser committed Dec 1, 2024
1 parent 50be57d commit dc25bab
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions config/routes/dev/twig.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion src/Controller/LoginController.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public function indexAction(Request $request)

// create login form
$form = $this->createForm(LoginType::class, $user);
$form->add('form.login', SubmitType::class, ['translation_domain' => 'login', 'label' => 'login.do_login']);
$form->add('submit', SubmitType::class, ['translation_domain' => 'login', 'label' => 'login.do_login']);
$arr['form'] = $form->createView();

return $this->render('login/login.html.twig', $arr);
Expand Down
2 changes: 1 addition & 1 deletion src/Entity/Traits/UserTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ public function isEnabled()
*
* @return string
*/
protected function getUserIdentifier()
public function getUserIdentifier()
{
return $this->email;
}
Expand Down

0 comments on commit dc25bab

Please sign in to comment.