From 90b64d4cc38fa00280c4f413f5dd17935aafc447 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Thu, 1 Oct 2015 02:53:04 +0200 Subject: [PATCH] Don't translate empty strings in the login form refs #5543 --- application/forms/Authentication/LoginForm.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/application/forms/Authentication/LoginForm.php b/application/forms/Authentication/LoginForm.php index f662c9cb2..72dea3399 100644 --- a/application/forms/Authentication/LoginForm.php +++ b/application/forms/Authentication/LoginForm.php @@ -41,7 +41,6 @@ class LoginForm extends Form array( 'required' => true, 'label' => $this->translate('Username'), - 'placeholder' => $this->translate(''), 'class' => false === isset($formData['username']) ? 'autofocus' : '' ) ); @@ -51,7 +50,6 @@ class LoginForm extends Form array( 'required' => true, 'label' => $this->translate('Password'), - 'placeholder' => $this->translate(''), 'class' => isset($formData['username']) ? 'autofocus' : '' ) );