Commit f3ba41a9 authored by astaxie's avatar astaxie

Merge pull request #517 from zkirill/develop

Fix basic auth plugin example.
parents 9e3ebc88 4befa1bc
......@@ -8,7 +8,7 @@ package auth
// }
// return false
// }
// authPlugin := auth.NewBasicAuthenticator(SecretAuth)
// authPlugin := auth.NewBasicAuthenticator(SecretAuth, "My Realm")
// beego.AddFilter("*","AfterStatic",authPlugin)
import (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment