Fix `settings_users` route does not exist #169
ref: the route was added in nextcloud 14 in this commit
2963fdc879
This commit is contained in:
parent
05277daaee
commit
4af7bf81b1
|
|
@ -41,7 +41,7 @@ Send BTC to `33pStaSaf4sDUA8XBAHTq7ZDQpCVFQArxQ`
|
||||||
<database>pgsql</database>
|
<database>pgsql</database>
|
||||||
<database min-version="5.5">mysql</database>
|
<database min-version="5.5">mysql</database>
|
||||||
<owncloud min-version="9.0" max-version="11"/>
|
<owncloud min-version="9.0" max-version="11"/>
|
||||||
<nextcloud min-version="9" max-version="16" />
|
<nextcloud min-version="14" max-version="16" />
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<settings>
|
<settings>
|
||||||
<admin>OCA\Registration\Settings\RegistrationSettings</admin>
|
<admin>OCA\Registration\Settings\RegistrationSettings</admin>
|
||||||
|
|
|
||||||
|
|
@ -147,7 +147,7 @@ class MailService {
|
||||||
* @throws \Exception
|
* @throws \Exception
|
||||||
*/
|
*/
|
||||||
private function sendNewUserNotifEmail(array $to, $username, $userIsEnabled) {
|
private function sendNewUserNotifEmail(array $to, $username, $userIsEnabled) {
|
||||||
$link = $this->urlGenerator->linkToRoute('settings_users');
|
$link = $this->urlGenerator->linkToRoute('settings.Users.usersList');
|
||||||
$link = $this->urlGenerator->getAbsoluteURL($link);
|
$link = $this->urlGenerator->getAbsoluteURL($link);
|
||||||
$template_var = [
|
$template_var = [
|
||||||
'user' => $username,
|
'user' => $username,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue