Searched refs:webAdminTwoFactorPath (Results 1 – 6 of 6) sorted by relevance
/dports/ftp/sftpgo/sftpgo-2.2.0/httpd/ |
H A D | httpd.go | 165 webAdminTwoFactorPath string var 587 webAdminTwoFactorPath = path.Join(baseURL, webAdminTwoFactorPathDefault)
|
H A D | middleware.go | 450 http.Redirect(w, r, webAdminTwoFactorPath, http.StatusFound)
|
H A D | server.go | 628 http.Redirect(w, r, webAdminTwoFactorPath, http.StatusFound) 1290 Get(webAdminTwoFactorPath, handleWebAdminTwoFactor) 1293 Post(webAdminTwoFactorPath, s.handleWebAdminTwoFactorPost)
|
H A D | httpd_test.go | 133 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 D | webadmin.go | 459 CurrentURL: webAdminTwoFactorPath,
|
H A D | internal_test.go | 774 …req, _ = http.NewRequest(http.MethodPost, webAdminTwoFactorPath+"?a=a%C3%AO%GC", bytes.NewBuffer([…
|