Commit 8e05961d authored by ale's avatar ale

Update id/auth (fix typo)

parent 2d62706d
Pipeline #1595 passed with stages
in 1 minute and 58 seconds
...@@ -19,16 +19,6 @@ type DeviceInfo struct { ...@@ -19,16 +19,6 @@ type DeviceInfo struct {
Mobile bool 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) { func (d *DeviceInfo) encodeToMap(m map[string]string, prefix string) {
m[prefix+"id"] = d.ID m[prefix+"id"] = d.ID
m[prefix+"remote_addr"] = d.RemoteAddr m[prefix+"remote_addr"] = d.RemoteAddr
......
...@@ -45,17 +45,17 @@ ...@@ -45,17 +45,17 @@
"revisionTime": "2018-11-18T16:11:30Z" "revisionTime": "2018-11-18T16:11:30Z"
}, },
{ {
"checksumSHA1": "3bnPpSVJ76JIN7CvGNJXCENCdjk=", "checksumSHA1": "6D5Xt9WoGSeTJE3XFw6P2/nKYrQ=",
"origin": "git.autistici.org/id/usermetadb/vendor/git.autistici.org/id/auth", "origin": "git.autistici.org/id/usermetadb/vendor/git.autistici.org/id/auth",
"path": "git.autistici.org/id/auth", "path": "git.autistici.org/id/auth",
"revision": "b0ce6ca3aba1819445d93d14d107b4651a239397", "revision": "45a125c8573dc76b222ec0f09cb329d4fd4f424d",
"revisionTime": "2018-11-18T17:18:31Z" "revisionTime": "2018-11-18T17:45:09Z"
}, },
{ {
"checksumSHA1": "oUeO2ktXtOh6f3w2cp1QtqjQlyQ=", "checksumSHA1": "MszadHmYMr3JQMX2gRg7TfsQWVc=",
"path": "git.autistici.org/id/go-sso", "path": "git.autistici.org/id/go-sso",
"revision": "a4b690e8a4e30acb3e0b6e94727c56bc3390409d", "revision": "ad4e6235791228c6ffc229174b46fb4cdbe27dc2",
"revisionTime": "2018-11-18T17:15:16Z" "revisionTime": "2018-11-18T17:45:41Z"
}, },
{ {
"checksumSHA1": "NtTOmajRf6xh0mkVSm18L70ncl0=", "checksumSHA1": "NtTOmajRf6xh0mkVSm18L70ncl0=",
......
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