mirror of
https://github.com/labstack/echo.git
synced 2025-03-21 21:27:04 +02:00
Update server.go
This commit is contained in:
parent
c2a30de34f
commit
cccaa1ee26
@ -25,7 +25,6 @@ func main() {
|
||||
|
||||
// Basic auth
|
||||
e.Use(mw.BasicAuth(func(u, p string) bool {
|
||||
println(u, p)
|
||||
if u == "joe" && p == "secret" {
|
||||
return true
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user