diff options
Diffstat (limited to 'settings/routes.php')
-rw-r--r-- | settings/routes.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/routes.php b/settings/routes.php index 6778a2ab828..60f9d8e1001 100644 --- a/settings/routes.php +++ b/settings/routes.php @@ -37,13 +37,13 @@ $this->create('settings_ajax_togglesubadmins', '/settings/ajax/togglesubadmins.p ->actionInclude('settings/ajax/togglesubadmins.php'); $this->create('settings_ajax_removegroup', '/settings/ajax/removegroup.php') ->actionInclude('settings/ajax/removegroup.php'); -$this->create('settings_ajax_changepassword', '/settings/users/changepassword') +$this->create('settings_users_changepassword', '/settings/users/changepassword') ->post() ->action('OC\Settings\ChangePassword\Controller', 'changeUserPassword'); $this->create('settings_ajax_changedisplayname', '/settings/ajax/changedisplayname.php') ->actionInclude('settings/ajax/changedisplayname.php'); // personal -$this->create('settings_ajax_changepersonalpassword', '/settings/personal/changepassword') +$this->create('settings_personal_changepassword', '/settings/personal/changepassword') ->post() ->action('OC\Settings\ChangePassword\Controller', 'changePersonalPassword'); $this->create('settings_ajax_lostpassword', '/settings/ajax/lostpassword.php') |