nextcloud / nextcloud/desktop

[Bug]: Too many 2FA notifications are displayed, or they should not be displayed consecutively

Open
#9,151 2 comments 0 reactions 1 assignee Claimed by @mgallien View on GitHub
bug os: :penguin: Linux package: debian
Dominant language
C++
Stars
3.9k
Forks
1k
Avg merge
1d 17h
Merged PRs (30d)
123

Description

### ⚠️ Before submitting, please verify the following: ⚠️

- [x] This is a **bug**, not a question or a configuration issue.
- [x] This issue is **not** already reported on Github (I've searched it).
- [x] Nextcloud Server and Desktop Client are **up to date**. See [Server Maintenance and Release Schedule](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) and [Desktop Releases](https://nextcloud.com/install/#install-clients) for supported versions.
- [x] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/)

### Bug description

Too many 2FA notifications are displayed, or they should not be displayed consecutively.
Image

### Steps to reproduce

1. Enable Two-Factor Authentication via notification https://apps.nextcloud.com/apps/twofactor_nextcloud_notification
2. connect several times et do things between each connection
3. Main window : see all 2FA connections consecutively displayed and numerous

### Expected behavior

All 2FA connections should be displayed normally in the activity timeline of the main window

### Which files are affected by this bug

N/A

### Operating system

Linux

### Which version of the operating system you are running.

Linux Mint 22.2 Cinnamon

### Package

Official Linux AppImage

### Nextcloud Server version

31.0.10

### Nextcloud Desktop Client version

4.0.2 (DEB package)

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

Updated from a minor version (ex. 3.16.1 to 3.16.2)

### Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

### Are you using an external user-backend?

- [x] Default internal user-backend
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other

### Nextcloud Server logs

```shell
Can be provided if necessary
```

### Additional info

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.