diff options
author | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2014-06-03 01:24:27 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-06-13 15:34:52 +0200 |
commit | 4b359ad20c504caaab737514185863a2af0df53e (patch) | |
tree | c1e62238e8890874bcaaf194efc2e15f0bf844fd /core/routes.php | |
parent | 218d0add36f873e7cdfdd32608883ea431eb2af9 (diff) | |
download | nextcloud-server-4b359ad20c504caaab737514185863a2af0df53e.tar.gz nextcloud-server-4b359ad20c504caaab737514185863a2af0df53e.zip |
Change routes. Update templates
Diffstat (limited to 'core/routes.php')
-rw-r--r-- | core/routes.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/routes.php b/core/routes.php index 0a67585e0b1..ce0103e3ee7 100644 --- a/core/routes.php +++ b/core/routes.php @@ -10,9 +10,9 @@ use OC\Core\LostPassword\Application; $application = new Application(); $application->registerRoutes($this, array('routes' => array( - array('name' => 'lost#lost', 'url' => '/core/ajax/password/lost', 'verb' => 'POST'), - array('name' => 'lost#reset', 'url' => '/lostpassword/reset/{token}/{uid}', 'verb' => 'GET'), - array('name' => 'lost#resetPassword', 'url' => '/core/ajax/password/reset/{token}/{user}', 'verb' => 'POST'), + array('name' => 'lost#email', 'url' => '/lostpassword/email', 'verb' => 'POST'), + array('name' => 'lost#resetform', 'url' => '/lostpassword/reset/form/{token}/{uid}', 'verb' => 'GET'), + array('name' => 'lost#setPassword', 'url' => '/lostpassword/set/{token}/{uid}', 'verb' => 'POST'), ) )); |