make dbg hashed ip to 12 symbols

This commit is contained in:
Umputun
2018-05-31 23:51:03 -05:00
parent c83aa6901d
commit d2fd46a4c2
+1 -1
View File
@@ -108,7 +108,7 @@ func (s *Rest) routes() chi.Router {
cache: s.Cache,
}
ipFn := func(ip string) string { return store.HashValue(ip, s.DataService.Secret)[:8] }
ipFn := func(ip string) string { return store.HashValue(ip, s.DataService.Secret)[:12] }
// auth routes for all providers
router.Route("/auth", func(r chi.Router) {