1
0
mirror of https://github.com/astaxie/beego.git synced 2025-06-19 13:30:41 +00:00

Merge pull request from zkirill/develop

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

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