Home
last modified time | relevance | path

Searched refs:webAdminTwoFactorPath (Results 1 – 6 of 6) sorted by relevance

/dports/ftp/sftpgo/sftpgo-2.2.0/httpd/
H A Dhttpd.go165 webAdminTwoFactorPath string var
587 webAdminTwoFactorPath = path.Join(baseURL, webAdminTwoFactorPathDefault)
H A Dmiddleware.go450 http.Redirect(w, r, webAdminTwoFactorPath, http.StatusFound)
H A Dserver.go628 http.Redirect(w, r, webAdminTwoFactorPath, http.StatusFound)
1290 Get(webAdminTwoFactorPath, handleWebAdminTwoFactor)
1293 Post(webAdminTwoFactorPath, s.handleWebAdminTwoFactorPost)
H A Dhttpd_test.go133 webAdminTwoFactorPath = "/web/admin/twofactor" const
3711 assert.Equal(t, webAdminTwoFactorPath, rr.Header().Get("Location"))
4928 req, err = http.NewRequest(http.MethodGet, webAdminTwoFactorPath, nil)
4940 req, err = http.NewRequest(http.MethodPost, webAdminTwoFactorPath, nil)
4960 assert.Equal(t, webAdminTwoFactorPath, rr.Header().Get("Location"))
4970 req, err = http.NewRequest(http.MethodGet, webAdminTwoFactorPath, nil)
4988 assert.Equal(t, webAdminTwoFactorPath, rr.Header().Get("Location"))
5051 assert.Equal(t, webAdminTwoFactorPath, rr.Header().Get("Location"))
5120 assert.Equal(t, webAdminTwoFactorPath, rr.Header().Get("Location"))
5149 assert.Equal(t, webAdminTwoFactorPath, rr.Header().Get("Location"))
[all …]
H A Dwebadmin.go459 CurrentURL: webAdminTwoFactorPath,
H A Dinternal_test.go774 …req, _ = http.NewRequest(http.MethodPost, webAdminTwoFactorPath+"?a=a%C3%AO%GC", bytes.NewBuffer([…