Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
id
auth
Commits
58623036
Commit
58623036
authored
Oct 27, 2018
by
ale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused variables
parent
c9a6cec5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
server/u2f.go
server/u2f.go
+1
-6
No files found.
server/u2f.go
View file @
58623036
...
...
@@ -3,16 +3,11 @@ package server
import
(
"bytes"
"encoding/gob"
"time"
"github.com/tstranex/u2f"
)
var
(
u2fClientMaxIdleConns
=
5
u2fClientTimeout
=
500
*
time
.
Millisecond
u2fCacheExpirationSeconds
=
300
)
const
u2fCacheExpirationSeconds
=
300
func
init
()
{
gob
.
Register
(
&
u2f
.
Challenge
{})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment