-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: "Resend welcome email" does not contain link to set initial password #41005
Comments
Looks like the resend option defaults to excluding the password reset token, but when we add a user we first check to see if the password is empty. If it is, we include the password reset token. Seems we need to add the same check in the resend.
server/apps/provisioning_api/lib/Controller/UsersController.php Lines 482 to 500 in 4828ac3
|
I would like to work on this issue 🖐🏻. Can I get it assigned ? |
@ezhil56x No assignment necessary. Feel free to do so. |
Signed-off-by: Ezhil Shanmugham <[email protected]>
@joshtrichards I have fixed this issue and created a PR on #41038 ⭐️ |
Signed-off-by: Ezhil Shanmugham <[email protected]>
Bug description
If you create a new user in the UI and DON'T set a password, the user will receive a welcome E-Mail containing a button/link with the caption "Set your password" ("Setze dein Passwort" in German). It links to
https://cloud.bla.de/lostpassword/reset/form/abcsomeToken123/MisterUsername
.However, when the admin triggers this E-Mail again via the "Resend welcome mail" button next to the user in the "Users" admin section, the second E-Mail will have different content: It will not contain the same button caption/link. Instead it will only have a link to the home page of the cloud – not to the password set/reset form.
Steps to reproduce
Expected behavior
The second E-Mail should be identical to the first E-Mail
Installation method
Community Docker image
Nextcloud Server version
27
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: