OSDN Git Service
(root)
/
bytom
/
bytom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
/restore-wallet, /backup-wallet only accept local access (#1388)
[bytom/bytom.git]
/
net
/
http
/
authn
/
authn_test.go
diff --git
a/net/http/authn/authn_test.go
b/net/http/authn/authn_test.go
index
d9a6dfd
..
fc07a04
100644
(file)
--- a/
net/http/authn/authn_test.go
+++ b/
net/http/authn/authn_test.go
@@
-29,7
+29,7
@@
func TestAuthenticate(t *testing.T) {
{"alice", "alice:abcsdsdfassdfsefsfsfesfesfefsefa", ErrInvalidToken},
}
- api := NewAPI(tokenStore)
+ api := NewAPI(tokenStore
, false
)
for _, c := range cases {
var username, password string