BUG Fix double casting in login authenticator name

Fixes #7769
This commit is contained in:
Damian Mooyman 2018-01-22 14:06:24 +13:00
parent 4a8f9a8da8
commit 60fa7558d3
No known key found for this signature in database
GPG Key ID: 78B823A10DE27D1A
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.' ERRORWRONGCRED: 'The provided details don''t seem to be correct. Please try again.'
NoPassword: 'There is no password on this member.' NoPassword: 'There is no password on this member.'
SilverStripe\Security\MemberAuthenticator\MemberLoginForm: SilverStripe\Security\MemberAuthenticator\MemberLoginForm:
AUTHENTICATORNAME: 'E-mail & Password' AUTHENTICATORNAME: 'E-mail & Password'
SilverStripe\Security\MemberPassword: SilverStripe\Security\MemberPassword:
PLURALNAME: 'Member Passwords' PLURALNAME: 'Member Passwords'
PLURALS: PLURALS:

View File

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