5sControl / 5sControl/5s-webserver

bug with with re-adding Emails

Ouverte
#84 2 commentaires 0 réactions 1 personne assignée Assignée à @Dimskay1988 Voir sur GitHub
bug QA done
Langage dominant
JavaScript
Étoiles
1
Forks
0
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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)

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
javascript
Domaine
api, backend
Type d'issue
Bug
Difficulté
2/5
Temps estimé
1-3 heures
Activité
À l'abandon
Clarté
Clairement spécifiée
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.