"Forgot password?" on Nextcloud login page

Forgot password? on the Nextcloud login page only works for users which were created via Nextcloud, not for users which were synchronized from UCS via LDAP. Since most of our Nextcloud users are UCS users, it would be good enough for us to change the link to https://ucs.domain.tld/univention/self-service/#passwordreset. How can this be achieved?

Add 'lost_password_link' => 'https://ucs.domain.tld/univention/self-service/#passwordreset' to the config.php. From the host something like this should do (i didn’t doublecheck):

univention-app shell nextcloud sudo -u www-data php /var/www/html/occ config:system:set lost_password_link --value="https://ucs.domain.tld/univention/self-service/#passwordreset"

1 Like

Thank you, it is working! :slight_smile:

1 Like
Mastodon