nextcloud/server

Trigger password reset email from user management

Open

#14,411 opened on Feb 27, 2019

View on GitHub
 (5 comments) (3 reactions) (0 assignees)PHP (4,865 forks)batch import
1. to developenhancementfeature: authenticationfeature: users and groupsgood first issuesecurity

Repository metrics

Stars
 (34,953 stars)
PR merge metrics
 (Avg merge 20d) (627 merged PRs in 30d)

Description

As of now the password reset email can only be triggered via the lost password page. In some cases this is disabled. It would be useful to trigger the email nevertheless as an admin from the user management.

Use case: having LDAP and DB users - LDAP users are not allowed to change the password but the reset should still be triggered by an admin for the DB users.

The email is sent here:

https://github.com/nextcloud/server/blob/ac8a6e22448cd4077e73b68731764bd60775665a/core/Controller/LostController.php#L314-L370

Contributor guide