Welcome to mirror list, hosted at ThFree Co, Russian Federation.

routes.php « appinfo - github.com/nextcloud/impersonate.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4087bc5320c445be05394a2e66b85ff493d3ff64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
/**
 * ownCloud - impersonate
 *
 * This file is licensed under the Affero General Public License version 3 or
 * later. See the COPYING file.
 *
 * @author Jörn Friedrich Dreyer <jfd@owncloud.com>
 * @copyright Jörn Friedrich Dreyer 2015
 */

return [
	'routes' => [

		// Land in users setting page ( for admin user only )
		[
			'name' => 'Settings#impersonate',
			'url' => '/user',
			'verb' => 'POST',
		],

		//Land in index page
		[
			'name' => 'Logout#logout',
			'url' => '/logout',
			'verb' => 'POST',
		],
	],
];