nextcloud/server

Trigger password reset email from user management

Ouverte

#14 411 ouverte le 27 févr. 2019

 (5 commentaires) (3 réactions) (0 personne assignée)PHP (4 865 forks)batch import
1. to developenhancementfeature: authenticationfeature: users and groupsgood first issuesecurity

Métriques du dépôt

Stars
 (34 953 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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

Guide contributeur