Skip to content

Conversation

@icewind1991
Copy link
Member

Backport of #38265

@icewind1991 icewind1991 added the 3. to review Waiting for reviews label May 15, 2023
@icewind1991 icewind1991 added this to the Nextcloud 25.0.7 milestone May 15, 2023
@icewind1991 icewind1991 requested review from a team, ArtificialOwl, blizzz and nfebe and removed request for a team May 15, 2023 15:05
@icewind1991 icewind1991 changed the title check the username when doing external storage session auth [24] check the username when doing external storage session auth May 15, 2023
@icewind1991 icewind1991 changed the title [24] check the username when doing external storage session auth [25] check the username when doing external storage session auth May 15, 2023
throw new InsufficientDataForMeaningfulAnswerException('No session credentials saved');
}

if ($credentials->getUID() !== $user->getUID()) {

Check notice

Code scanning / Psalm

PossiblyNullReference

Cannot call method getUID on possibly null value
@icewind1991 icewind1991 merged commit bb02642 into stable25 May 15, 2023
@icewind1991 icewind1991 deleted the session-auth-check-username-25 branch May 15, 2023 21:48
@blizzz blizzz mentioned this pull request May 16, 2023
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.

5 participants