In my cloudron setup, at the login screen of the nextcloud app there is a "Forgot password" link. It would be useful for people that directly go to this app, without navigating first to the cloudron panel (a very common usage in my organization), and don't remember their Cloudron password.
But currently this link navigates to https://my.site.org/api/v1/session/password/resetRequest.html, and this url does not exist and generates a 404 error.
I have found that, in the file
/app/code/config/config.phpI can change the parameter
lost_password_linkto change the url to navigate to change password. I'd like to redirect to the reset password page of the Cloudron box, but I've found that this page has no url. If you go to https://my.site.org/login.html, there is a "Reset password" link, but it shows the form in the same page.
Is there a way to navigate from outside the box directly to the reset password form? Thanks.
@andres-moya as far as I can see, the package does not set this password reset url by default. Also you are right, that url is the old removed one and the login.html is the new and correct url.
To jump directly to password reset, just append
As an example the url then would be:
@nebulon perhaps the Cloudron Nextcloud app have
/app/code/config/config.phppre-configured to be https://my.example.com/login.html?passwordReset ? (although I guess people using it without LDAP wouldn't want that).
At the very least I think instructions for how to edit
/app/code/config/config.phpto make it https://my.example.com/login.html?passwordReset ought to be added to the Cloudron Nextcloud docs at https://docs.cloudron.io/apps/nextcloud/
Yes I was thinking the same, however then I saw that this used to be the case actually and got removed with https://git.cloudron.io/cloudron/nextcloud-app/-/commit/b84aa70403aa8363bfedfb4088a4f62839e575ae @girish do you remember the reason?
Also this is likely the root cause why @andres-moya sees the old url, most likely the app instance is quite old then.
@girish Thanks, it works now with ?passwordReset.
For me the problem is solved. You are true, my nextcloud installation si some years old. Don't know why did you remove it, but yes, think that will be useful to talk about it in nextcloud app documentation.
@jdaviescoates I think you misunderstood. Its removed from the configuration for new app installations. But if you have installed the Nextcloud app before february 2020, then your app is still configured with the old link.
Nothing was changed on an already installed app (seeing this thread I also manually updated the link to the new password reset).
I added doc for this - https://docs.cloudron.io/apps/nextcloud/#password-reset-link