Merge pull request #7779 from open-sausages/pulls/4.0/fix-login-casting

BUG Fix double casting in login authenticator name
This commit is contained in:
Loz Calver 2018-01-22 09:10:35 +00:00 committed by GitHub
commit 7603c6d798
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -271,7 +271,7 @@ en:
ERRORWRONGCRED: 'The provided details don''t seem to be correct. Please try again.'
NoPassword: 'There is no password on this member.'
SilverStripe\Security\MemberAuthenticator\MemberLoginForm:
AUTHENTICATORNAME: 'E-mail & Password'
AUTHENTICATORNAME: 'E-mail & Password'
SilverStripe\Security\MemberPassword:
PLURALNAME: 'Member Passwords'
PLURALS:

View File

@ -224,6 +224,6 @@ class MemberLoginForm extends BaseLoginForm
*/
public function getAuthenticatorName()
{
return _t(self::class . '.AUTHENTICATORNAME', "E-mail & Password");
return _t(self::class . '.AUTHENTICATORNAME', "E-mail & Password");
}
}