Skip to content

[stable35] fix(settings): let a failed app token creation surface to the user - #65141

Merged
susnux merged 1 commit into
stable35from
backport/63189/stable35
Oct 5, 2026
Merged

susnux merged 1 commit into
stable35from
backport/63189/stable35

Conversation

@backportbot

@backportbot backportbot Bot commented Oct 5, 2026

Copy link
Copy Markdown

Backport of PR #63189

addToken swallowed every error from the request and returned null, so the
catch in AuthTokenSetup never ran. Creating an app password against a
blocked or failing endpoint left the form silently doing nothing.

Drop the catch and let the rejection reach the caller, which already logs it
and shows an error, the same way updateToken leaves reporting to its callers.

Fixes #62680

Signed-off-by: ELHart05 <o.allaoua@esi-sba.dz>
@backportbot
backportbot Bot requested a review from a team as a code owner October 5, 2026 14:16
@backportbot
backportbot Bot requested review from joshtrichards, kristian-zendato, skjnldsv, sorbaugh and susnux and removed request for a team October 5, 2026 14:16
@backportbot backportbot Bot added this to the Nextcloud 35.0.2 milestone Oct 5, 2026
@joshtrichards joshtrichards added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Oct 5, 2026
@susnux
susnux merged commit 60d2c29 into stable35 Oct 5, 2026
203 checks passed
@susnux
susnux deleted the backport/63189/stable35 branch October 5, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish bug feature: settings feedback-requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants