Skip to content

Commit

Permalink
Merge branch 'session-sliding-window' of https://github.com/directus/…
Browse files Browse the repository at this point in the history
…directus into session-sliding-window
  • Loading branch information
br41nslug committed May 15, 2024
2 parents 2602ef8 + 461e293 commit 11bb62e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .changeset/five-moons-complain.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---

Check warning on line 1 in .changeset/five-moons-complain.md

View workflow job for this annotation

GitHub Actions / Lint

File ignored by default.
"@directus/api": patch
"@directus/env": patch
---

Implemented a "safety window" when refreshing session tokens
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { Knex } from 'knex';

export async function up(knex: Knex): Promise<void> {
await knex.schema.alterTable('directus_sessions', (table) => {
table.string('next_token').nullable();
table.string('next_token', 64).nullable();
});
}

Expand Down

0 comments on commit 11bb62e

Please sign in to comment.