Skip to content

Commit

Permalink
CS
Browse files Browse the repository at this point in the history
  • Loading branch information
dergel committed Sep 12, 2024
1 parent 8241374 commit e404c03
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion plugins/auth/boot.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,3 @@
}
});
}

2 changes: 1 addition & 1 deletion plugins/auth/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
->ensureColumn(new rex_sql_column('starttime', 'datetime'))
->ensureColumn(new rex_sql_column('last_activity', 'datetime'))
->ensureColumn(new rex_sql_column('last_activity', 'datetime'))
->ensureColumn(new rex_sql_column('otp_verified', 'tinyint(1)', false, 0))
->ensureColumn(new rex_sql_column('otp_verified', 'tinyint(1)', false, '0'))
->ensureColumn(new rex_sql_column('cookie_key', 'varchar(255)', true))
->ensureIndex(new rex_sql_index('cookie_key', ['cookie_key'], rex_sql_index::UNIQUE))
->setPrimaryKey('session_id')
Expand Down
4 changes: 2 additions & 2 deletions plugins/auth/pages/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
$this->setConfig('session_max_overall_duration', rex_request('session_max_overall_duration', 'int'));
$this->setConfig('session_duration', rex_request('session_duration', 'int'));

foreach(rex_ycom_auth::getInjections() as $injection) {
foreach (rex_ycom_auth::getInjections() as $injection) {
$injection->triggerSaveSettings();
}

Expand Down Expand Up @@ -240,7 +240,7 @@
</fieldset>';

foreach(rex_ycom_auth::getInjections() as $injection) {
foreach (rex_ycom_auth::getInjections() as $injection) {
$content .= $injection->getSettingsContent();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@

break;
case 'totp':
default:
$defaultOption = 'totp';
$otpMethod = new rex_ycom_otp_method_totp();
break;
Expand Down

0 comments on commit e404c03

Please sign in to comment.