Browse Source

Fix missing authtoken scope

Signed-off-by: Julius Härtl <jus@bitgrid.net>
tags/v21.0.0beta1
Julius Härtl 3 years ago
parent
commit
83f4f480ab
No account linked to committer's email address
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      core/Migrations/Version13000Date20170718121200.php

+ 5
- 0
core/Migrations/Version13000Date20170718121200.php View File

@@ -549,6 +549,11 @@ class Version13000Date20170718121200 extends SimpleMigrationStep {
$table->setPrimaryKey(['id']);
$table->addUniqueIndex(['token'], 'authtoken_token_index');
$table->addIndex(['last_activity'], 'authtoken_last_activity_idx');
} else {
$table = $schema->getTable('authtoken');
$table->addColumn('scope', 'text', [
'notnull' => false,
]);
}

if (!$schema->hasTable('bruteforce_attempts')) {

Loading…
Cancel
Save