Skip to content

Commit

Permalink
Merge pull request silverstripe#104 from creative-commoners/pulls/4.4…
Browse files Browse the repository at this point in the history
…/txkeys

MNT Update invalid translations
  • Loading branch information
michalkleiner authored Jun 9, 2023
2 parents deb1142 + 49817e0 commit d2da55f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions lang/en.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
en:
MiniLoginForm:
php.SilverStripe\RealMe\Authenticator\LoginFormLOGINBUTTON: LoginAction
SilverStripe\RealMe\Authenticator\LoginForm:
ASSERTLOGINBUTTON: 'Share your details with {orgname}'
AUTHENTICATOR_NAME: 'RealMe Account'
Expand Down
2 changes: 1 addition & 1 deletion src/Authenticator/MiniLoginForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function getRealMeMiniLoginLink()
$authMethod = $fields->dataFieldByName('AuthenticationMethod')->Value();
$token = $fields->dataFieldByName('SecurityID')->Value();
$actionName = $action->getName();
$actionValue = _t(LoginForm::class . 'LOGINBUTTON', 'LoginAction');
$actionValue = _t(LoginForm::class . '.LOGINBUTTON', 'LoginAction');

$queryString = sprintf(
'?AuthenticationMethod=%s&SecurityID=%s&%s=%s',
Expand Down

0 comments on commit d2da55f

Please sign in to comment.