Skip to content

Conversation

@salmart-dev
Copy link
Contributor

@salmart-dev salmart-dev commented Feb 4, 2026

Summary

Manual backport of #58059

Checklist

@salmart-dev salmart-dev self-assigned this Feb 4, 2026
@salmart-dev salmart-dev added the 3. to review Waiting for reviews label Feb 4, 2026
#[FrontpageRoute(verb: 'GET', url: '/logout')]
public function logout() {
$loginToken = $this->request->getCookie('nc_token');
$uid = $this->userSession->getUser()->getUID();

Check notice

Code scanning / Psalm

PossiblyNullReference Note

Cannot call method getUID on possibly null value
… session

Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
@AndyScherzinger AndyScherzinger force-pushed the fix/stable30-add-missing-user-id-header branch from 1ea495c to 62974d3 Compare February 4, 2026 20:00
@salmart-dev
Copy link
Contributor Author

Closing manual backport in favour of backportbot one: #58196

@salmart-dev salmart-dev closed this Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant