Commit 45a125c8 authored by ale's avatar ale

Update id/auth (fix typo)

parent b0ce6ca3
Pipeline #1592 passed with stages
in 2 minutes and 29 seconds
......@@ -19,16 +19,6 @@ type DeviceInfo struct {
Mobile bool
}
// DebugString returns a string serialization of the DeviceInfo
// suitable for logging.
func (d *DeviceInfo) DebugString() string {
s := fmt.Sprintf("%s/%s", d.Browser, d.OS)
if s.RemoteZone != "" {
s = fmt.Sprintf("%s/%s", s, s.RemoteZone)
}
return fmt.Sprintf("%s(%s)", d.ID, s)
}
func (d *DeviceInfo) encodeToMap(m map[string]string, prefix string) {
m[prefix+"id"] = d.ID
m[prefix+"remote_addr"] = d.RemoteAddr
......
......@@ -27,10 +27,10 @@
"revisionTime": "2018-11-18T16:11:30Z"
},
{
"checksumSHA1": "3bnPpSVJ76JIN7CvGNJXCENCdjk=",
"checksumSHA1": "6D5Xt9WoGSeTJE3XFw6P2/nKYrQ=",
"path": "git.autistici.org/id/auth",
"revision": "254ae7dc20dc95595432270928378a0d33f54f82",
"revisionTime": "2018-11-18T17:18:13Z"
"revision": "d5da26d7565082baa108a1c1806f2fc723d33ccb",
"revisionTime": "2018-11-18T17:43:45Z"
},
{
"checksumSHA1": "0rido7hYHQtfq3UJzVT5LClLAWc=",
......
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