We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9acc781 commit 4746433Copy full SHA for 4746433
src/Controller/AccountController.php
@@ -90,7 +90,7 @@ public function loginAction(
90
91
return $this->render('account/login.html.twig', [
92
'form' => $form->createView(),
93
- 'error' => $error,
+ 'error' => $error ? 'Credentials are not valid.' : '',
94
'hideBreadcrumbs' => true
95
]);
96
}
templates/account/login.html.twig
@@ -11,7 +11,7 @@
11
12
{% if error %}
13
<div class="alert alert-danger">
14
- {{ error.getMessage() }}
+ {{ error }}
15
</div>
16
{% endif %}
17
0 commit comments