Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[Bug]: Contradictory notifications when cancelling welcome email confirmation

未关闭 适合新手
#65,883 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
67/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
javascript, php
领域
frontend

调研方向

从账户页面开始,沿着“重新发送欢迎邮件”操作追踪密码确认和通知处理。点击 X 按钮取消对话框以重现问题;追踪取消后显示“欢迎邮件已发送!”的路径。完成标准是取消时不发送邮件,也不显示这两条通知中的任何一条。

由索引模型根据 Issue 内容生成。

描述

0. Needs triage 36-feedback bug
⚠️ This issue respects the following points: ⚠️
  • This is not a troubleshooting question, general support matter, or webserver/proxy problem, but likely a bug (if unsure, ask the Community Help Forum).
  • This issue is not already reported on Github OR solved at the Community Help Forum (I've searched!).
  • I'm using a maintained major version of Nextcloud Server and tested against the latest patch level. (Supported major versions and current patch levels).
  • I agree to follow Nextcloud's Code of Conduct.
  • I've tried my best to provide clear reproduction steps that someone unfamiliar with this bug could use to reproduce it.
Bug description

When an administrator cancels the password confirmation dialog while trying to resend a welcome email, Nextcloud displays two contradictory notifications:

"An error occurred during the request. Unable to proceed."

"Welcome mail sent!"

The success notification is misleading because the administrator cancelled the password confirmation.

Steps to reproduce
  1. Log in to Nextcloud as an admin.
  2. Open accounts page.
  3. Find a user account with an email address.
  4. Open the user's actions menu and click "Resend welcome email".
  5. When the password confirmation dialog appears, click the X button to cancel without entering your password.
  6. Observe the notifications.

https://github.com/user-attachments/assets/f2891569-f4cf-49a6-8dc5-a67ca57b3223

Expected behavior

Cancelling the password confirmation should cancel the operation. No welcome email should be sent, and neither a success notification nor an error notification for the intentional cancellation should appear.

Nextcloud Server version

36 (master)

Operating system

None

PHP engine version

None

Web server

None

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?
  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other
Configuration report

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

Operating system: MacOS

主要语言
PHP
星标
37.2k
派生
5.3k
平均合并
2 天 7 小时
30 天内合并 PR
700

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nextcloud/server 的其他 Issue

查看 nextcloud/server 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。