mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 11:00:55 +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
|
// return false
|
||||||
// }
|
// }
|
||||||
// authPlugin := auth.NewBasicAuthenticator(SecretAuth)
|
// authPlugin := auth.NewBasicAuthenticator(SecretAuth, "My Realm")
|
||||||
// beego.AddFilter("*","AfterStatic",authPlugin)
|
// beego.AddFilter("*","AfterStatic",authPlugin)
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
Loading…
Reference in New Issue
Block a user