mirror of
https://github.com/friendica/friendica
synced 2025-02-01 06:19:48 +00:00
Make PHP-CS happy
This commit is contained in:
parent
f53292cb11
commit
ae8450f4fb
2 changed files with 66 additions and 64 deletions
|
@ -281,10 +281,12 @@ class Install extends BaseModule
|
||||||
$this->configCache->get('config', 'admin_email'),
|
$this->configCache->get('config', 'admin_email'),
|
||||||
$this->t('Your account email address must match this in order to use the web admin panel.'),
|
$this->t('Your account email address must match this in order to use the web admin panel.'),
|
||||||
$this->t('Required'), 'autofocus', 'email'],
|
$this->t('Required'), 'autofocus', 'email'],
|
||||||
'$timezone' => Temporal::getTimezoneField('system-default_timezone',
|
'$timezone' => Temporal::getTimezoneField(
|
||||||
|
'system-default_timezone',
|
||||||
$this->t('Please select a default timezone for your website'),
|
$this->t('Please select a default timezone for your website'),
|
||||||
$this->configCache->get('system', 'default_timezone'),
|
$this->configCache->get('system', 'default_timezone'),
|
||||||
''),
|
''
|
||||||
|
),
|
||||||
'$language' => ['system-language',
|
'$language' => ['system-language',
|
||||||
$this->t('System Language:'),
|
$this->t('System Language:'),
|
||||||
$this->configCache->get('system', 'language'),
|
$this->configCache->get('system', 'language'),
|
||||||
|
|
|
@ -81,7 +81,7 @@ class AppSpecific extends BaseSettings
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case 'revoke_all' :
|
case 'revoke_all':
|
||||||
AppSpecificPassword::deleteAllForUser($this->session->getLocalUserId());
|
AppSpecificPassword::deleteAllForUser($this->session->getLocalUserId());
|
||||||
$this->systemMessages->addInfo($this->t('App-specific passwords successfully revoked.'));
|
$this->systemMessages->addInfo($this->t('App-specific passwords successfully revoked.'));
|
||||||
$this->baseUrl->redirect('settings/2fa/app_specific?t=' . self::getFormSecurityToken('settings_2fa_password'));
|
$this->baseUrl->redirect('settings/2fa/app_specific?t=' . self::getFormSecurityToken('settings_2fa_password'));
|
||||||
|
|
Loading…
Add table
Reference in a new issue