Commit a5a9b646 authored by Sietse Ringers's avatar Sietse Ringers
Browse files

Fix email post url

parent 4a9c1dc2
Pipeline #19589 failed with stages
in 2 minutes and 20 seconds
......@@ -149,10 +149,10 @@ func (s *Server) verifyConfiguration(configuration *server.Configuration) error
if !strings.Contains(s.conf.Email, "@") || strings.Contains(s.conf.Email, "\n") {
return server.LogError(errors.New("Invalid email address specified"))
}
t := irma.NewHTTPTransport("https://metrics.privacybydesign.foundation/history/email")
t := irma.NewHTTPTransport("https://metrics.privacybydesign.foundation/history")
t.SetHeader("User-Agent", "irmaserver")
var x string
_ = t.Post("", &x, s.conf.Email)
_ = t.Post("email", &x, s.conf.Email)
}
return nil
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment