Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
caddy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
caddy
Commits
184abe3b
Commit
184abe3b
authored
Feb 01, 2016
by
Abiola Ibrahim
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #561 from DenBeke/fix-vet
basicauth: fixed 'go vet' printing function value
parents
c5983e30
fde9bbeb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
middleware/basicauth/basicauth_test.go
middleware/basicauth/basicauth_test.go
+1
-1
No files found.
middleware/basicauth/basicauth_test.go
View file @
184abe3b
...
...
@@ -139,7 +139,7 @@ md5:$apr1$l42y8rex$pOA2VJ0x/0TwaFeAF9nX61`
if
rule
.
Password
,
err
=
GetHtpasswdMatcher
(
filename
,
rule
.
Username
,
siteRoot
);
err
!=
nil
{
t
.
Fatalf
(
"GetHtpasswdMatcher(%q, %q): %v"
,
htfh
.
Name
(),
rule
.
Username
,
err
)
}
t
.
Logf
(
"%d. username=%q
password=%v"
,
i
,
rule
.
Username
,
rule
.
Password
)
t
.
Logf
(
"%d. username=%q
"
,
i
,
rule
.
Username
)
if
!
rule
.
Password
(
htpasswdPasswd
)
||
rule
.
Password
(
htpasswdPasswd
+
"!"
)
{
t
.
Errorf
(
"%d (%s) password does not match."
,
i
,
rule
.
Username
)
}
...
...
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