5sControl / 5sControl/5s-webserver

bug with with re-adding Emails

未关闭
#84 2 条评论 0 个 reaction 已指派 1 人 已指派给 @Dimskay1988 在 GitHub 查看
bug QA done
主要语言
JavaScript
星标
1
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

Preconditions: пользователь авторизован, получена лицензия, создано подключение к БД, подключен SMTP server.
Summary: Configuration(notifications), при нажатии на кнопку add email возможно добавить уже используемый email.
1. Открыть приложение;
2. Открыть вкладку Configuration;
3. Открыть страницу notifications;
4. Правый клик по кнопке add email;
5. Ввести email(пример raketskiy.artyom@gmail.com);
6. Нажать Enter;
7. Правый клик по кнопке add email;
8. Ввести email(пример raketskiy.artyom@gmail.com);
9. Нажать Enter.
Result: email добавлен.
Expecte result: email не добавлен.

![Image](https://github.com/5sControl/server-/assets/113969187/c69ff753-c854-489c-94cd-facbeebb9935)

贡献指南

打开贡献指南

调研方向

The issue is in the notifications configuration page where duplicate emails can be added. Look for the frontend component handling the 'add email' button and the backend API endpoint that processes the email submission. Check for validation logic to prevent duplicates, likely in a file related to notifications or user settings. Verify by testing the add email flow after implementing the fix.

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

评估

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

把新 issue 发到你的邮箱

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