diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2017-04-24 12:17:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-24 12:17:04 +0200 |
commit | 42e805f0578b95206fdddabfe6234b0880c27b1e (patch) | |
tree | d9dc2870f2727ac0b35e95681ebc320222c5cc17 /apps/user_ldap/appinfo/routes.php | |
parent | 3d671cc536b1b472c746fd4ea8f60135f4935a44 (diff) | |
parent | 5fa218051bb7cafe9acfdc223fe6a6d4605dacdc (diff) | |
download | nextcloud-server-42e805f0578b95206fdddabfe6234b0880c27b1e.tar.gz nextcloud-server-42e805f0578b95206fdddabfe6234b0880c27b1e.zip |
Merge pull request #1023 from GitHubUser4234/ldap_password_renew_pr
Handle password expiry in user_ldap
Diffstat (limited to 'apps/user_ldap/appinfo/routes.php')
-rw-r--r-- | apps/user_ldap/appinfo/routes.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/user_ldap/appinfo/routes.php b/apps/user_ldap/appinfo/routes.php index 45b43c21409..39964838d48 100644 --- a/apps/user_ldap/appinfo/routes.php +++ b/apps/user_ldap/appinfo/routes.php @@ -46,3 +46,13 @@ $application->registerRoutes($this, [ ['name' => 'ConfigAPI#delete', 'url' => '/api/v1/config/{configID}', 'verb' => 'DELETE'], ] ]); + +$application = new OCA\User_LDAP\AppInfo\Application(); +$application->registerRoutes($this, [ + 'routes' => [ + ['name' => 'renewPassword#tryRenewPassword', 'url' => '/renewpassword', 'verb' => 'POST'], + ['name' => 'renewPassword#showRenewPasswordForm', 'url' => '/renewpassword/{user}', 'verb' => 'GET'], + ['name' => 'renewPassword#cancel', 'url' => '/renewpassword/cancel', 'verb' => 'GET'], + ['name' => 'renewPassword#showLoginFormInvalidPassword', 'url' => '/renewpassword/invalidlogin/{user}', 'verb' => 'GET'], + ] +]); |