nextcloud/server

Trigger password reset email from user management

オープン

#14,411 opened on 2019/02/27

 (5 件のコメント) (3 件のリアクション) (0 人の担当者)PHP (4,865 件のフォーク)batch import
1. to developenhancementfeature: authenticationfeature: users and groupsgood first issuesecurity

Repository metrics

Stars
 (34,953 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド