Skip to content

Commit

Permalink
Don't translate empty strings in the login form
Browse files Browse the repository at this point in the history
refs #5543
  • Loading branch information
lippserd committed Oct 1, 2015
1 parent 9a072a8 commit 90b64d4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions application/forms/Authentication/LoginForm.php
Expand Up @@ -41,7 +41,6 @@ public function createElements(array $formData)
array(
'required' => true,
'label' => $this->translate('Username'),
'placeholder' => $this->translate(''),
'class' => false === isset($formData['username']) ? 'autofocus' : ''
)
);
Expand All @@ -51,7 +50,6 @@ public function createElements(array $formData)
array(
'required' => true,
'label' => $this->translate('Password'),
'placeholder' => $this->translate(''),
'class' => isset($formData['username']) ? 'autofocus' : ''
)
);
Expand Down

0 comments on commit 90b64d4

Please sign in to comment.