cryptomator / hub

Cryptomator Hub helps you manage vaults in large teams
GNU Affero General Public License v3.0
41 stars 9 forks source link

Log user account reset #279

Open SailReal opened 4 months ago

SailReal commented 4 months ago

Please agree to the following

Summary

Resetting a user account should create a log entry.

System Setup

- Hub: 1.3.4
- Keycloak: x
- Cryptomator: y

Steps to Reproduce

  1. Setup a user account
  2. Open a private tab in your browser and login again to Hub
  3. Click on "Account reset"

Expected Behavior

An event is logged that the account was reset.

Actual Behavior

Account reset is not logged.

Reproducibility

Always

Relevant Log Output

No response

Anything else?

We should add a new "Account reset entry" in

https://github.com/cryptomator/hub/blob/52bb5ab9ac09775db2555aa391914523d4e48a0c/backend/src/main/java/org/cryptomator/hub/api/UsersResource.java#L125-L141