1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-23 05:30:49 +00:00

Merge pull request #517 from zkirill/develop

Fix basic auth plugin example.
This commit is contained in:
astaxie 2014-03-03 09:58:40 +08:00
commit f3ba41a991

View File

@ -8,7 +8,7 @@ package auth
// }
// return false
// }
// authPlugin := auth.NewBasicAuthenticator(SecretAuth)
// authPlugin := auth.NewBasicAuthenticator(SecretAuth, "My Realm")
// beego.AddFilter("*","AfterStatic",authPlugin)
import (