Reword external storage auth backends

This commit is contained in:
Vincent Petry 2016-02-01 12:20:21 +01:00
parent 32067ac49b
commit 04b88b4aaa
3 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ class LoginCredentials extends AuthMechanism {
$this $this
->setIdentifier('password::logincredentials') ->setIdentifier('password::logincredentials')
->setScheme(self::SCHEME_PASSWORD) ->setScheme(self::SCHEME_PASSWORD)
->setText($l->t('Login credentials')) ->setText($l->t('Log-in credentials, save in database'))
->addParameters([ ->addParameters([
]) ])
; ;

View File

@ -50,7 +50,7 @@ class SessionCredentials extends AuthMechanism {
$this $this
->setIdentifier('password::sessioncredentials') ->setIdentifier('password::sessioncredentials')
->setScheme(self::SCHEME_PASSWORD) ->setScheme(self::SCHEME_PASSWORD)
->setText($l->t('Session credentials')) ->setText($l->t('Log-in credentials, save in session'))
->addParameters([ ->addParameters([
]) ])
; ;

View File

@ -49,7 +49,7 @@ class UserProvided extends AuthMechanism implements IUserProvided {
->setIdentifier('password::userprovided') ->setIdentifier('password::userprovided')
->setVisibility(BackendService::VISIBILITY_ADMIN) ->setVisibility(BackendService::VISIBILITY_ADMIN)
->setScheme(self::SCHEME_PASSWORD) ->setScheme(self::SCHEME_PASSWORD)
->setText($l->t('User provided')) ->setText($l->t('User entered, store in database'))
->addParameters([ ->addParameters([
(new DefinitionParameter('user', $l->t('Username'))) (new DefinitionParameter('user', $l->t('Username')))
->setFlag(DefinitionParameter::FLAG_USER_PROVIDED), ->setFlag(DefinitionParameter::FLAG_USER_PROVIDED),