mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 07:40:54 +00:00
Update apiauth.go fixed infinite recursive call
This commit is contained in:
parent
c2b6cb5c3a
commit
914bbfd710
@ -85,7 +85,7 @@ func APIBasicAuth(appid, appkey string) beego.FilterFunc {
|
|||||||
|
|
||||||
// APIBaiscAuth calls APIBasicAuth for previous callers
|
// APIBaiscAuth calls APIBasicAuth for previous callers
|
||||||
func APIBaiscAuth(appid, appkey string) beego.FilterFunc {
|
func APIBaiscAuth(appid, appkey string) beego.FilterFunc {
|
||||||
return APIBaiscAuth(appid, appkey)
|
return APIBasicAuth(appid, appkey)
|
||||||
}
|
}
|
||||||
|
|
||||||
// APISecretAuth use AppIdToAppSecret verify and
|
// APISecretAuth use AppIdToAppSecret verify and
|
||||||
|
Loading…
Reference in New Issue
Block a user