Searched refs:webUserPath (Results 1 – 5 of 5) sorted by relevance
/dports/ftp/sftpgo/sftpgo-2.2.0/httpd/ |
H A D | httpd.go | 169 webUserPath string var 591 webUserPath = path.Join(baseURL, webUserPathDefault)
|
H A D | httpd_test.go | 119 webUserPath = "/web/admin/user" const 10932 req, _ = http.NewRequest(http.MethodGet, webUserPath, nil) 11849 req, _ = http.NewRequest(http.MethodGet, webUserPath, nil) 11867 req, _ = http.NewRequest(http.MethodPost, webUserPath, &b) 12421 req, _ = http.NewRequest(http.MethodPost, webUserPath, &b) 12430 req, _ = http.NewRequest(http.MethodPost, webUserPath, &b) 12439 req, _ = http.NewRequest(http.MethodPost, webUserPath, &b) 12448 req, _ = http.NewRequest(http.MethodPost, webUserPath, &b) 12457 req, _ = http.NewRequest(http.MethodPost, webUserPath, &b) 12466 req, _ = http.NewRequest(http.MethodPost, webUserPath, &b) [all …]
|
H A D | server.go | 1321 Get(webUserPath, handleWebAddUserGet) 1323 Get(webUserPath+"/{username}", handleWebUpdateUserGet) 1324 router.With(checkPerm(dataprovider.PermAdminAddUsers)).Post(webUserPath, handleWebAddUserPost) 1325 …router.With(checkPerm(dataprovider.PermAdminChangeUsers)).Post(webUserPath+"/{username}", handleWe… 1357 Delete(webUserPath+"/{username}", deleteUser)
|
H A D | webadmin.go | 363 UserURL: webUserPath, 573 currentURL = webUserPath 576 currentURL = fmt.Sprintf("%v/%v", webUserPath, url.PathEscape(user.Username))
|
H A D | internal_test.go | 332 req, _ := http.NewRequest(http.MethodPost, webUserPath, strings.NewReader(form.Encode())) 912 req, _ = http.NewRequest(http.MethodGet, webUserPath, nil) 938 req, _ = http.NewRequest(http.MethodGet, webUserPath, nil) 939 req.RequestURI = webUserPath
|