mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 06:50:54 +00:00
Merge pull request #517 from zkirill/develop
Fix basic auth plugin example.
This commit is contained in:
commit
f3ba41a991
@ -8,7 +8,7 @@ package auth
|
||||
// }
|
||||
// return false
|
||||
// }
|
||||
// authPlugin := auth.NewBasicAuthenticator(SecretAuth)
|
||||
// authPlugin := auth.NewBasicAuthenticator(SecretAuth, "My Realm")
|
||||
// beego.AddFilter("*","AfterStatic",authPlugin)
|
||||
|
||||
import (
|
||||
|
Loading…
Reference in New Issue
Block a user