nextcloud/server

Trigger password reset email from user management

Aperta

#14.411 aperta il 27 feb 2019

 (5 commenti) (3 reazioni) (0 assegnatari)PHP (4865 fork)batch import
1. to developenhancementfeature: authenticationfeature: users and groupsgood first issuesecurity

Metriche repository

Star
 (34.953 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor