Skip to content

Commit

Permalink
Merge branch '2.x' into sm/messages-mentions-perf
Browse files Browse the repository at this point in the history
  • Loading branch information
SychO9 committed Oct 19, 2024
2 parents dba4587 + a5a1f6a commit 9c7a1b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public function user_cannot_delete_current_session_token()
$sessionToken = AccessToken::query()
->where('user_id', 1)
->where('type', SessionAccessToken::$type)
->latest()
->latest('id')
->first();

$csrfToken = $responseWithSession->getHeaderLine('X-CSRF-Token');
Expand Down

0 comments on commit 9c7a1b5

Please sign in to comment.