Home
last modified time | relevance | path

Searched refs:webUserPath (Results 1 – 5 of 5) sorted by relevance

/dports/ftp/sftpgo/sftpgo-2.2.0/httpd/
H A Dhttpd.go169 webUserPath string var
591 webUserPath = path.Join(baseURL, webUserPathDefault)
H A Dhttpd_test.go119 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 Dserver.go1321 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 Dwebadmin.go363 UserURL: webUserPath,
573 currentURL = webUserPath
576 currentURL = fmt.Sprintf("%v/%v", webUserPath, url.PathEscape(user.Username))
H A Dinternal_test.go332 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