1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-22 16:30:48 +00:00

Update apiauth.go fixed infinite recursive call

This commit is contained in:
Daniel Ramirez Grave de Peralta 2019-03-14 09:14:12 -04:00 committed by GitHub
parent c2b6cb5c3a
commit 914bbfd710
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,7 +85,7 @@ func APIBasicAuth(appid, appkey string) beego.FilterFunc {
// APIBaiscAuth calls APIBasicAuth for previous callers
func APIBaiscAuth(appid, appkey string) beego.FilterFunc {
return APIBaiscAuth(appid, appkey)
return APIBasicAuth(appid, appkey)
}
// APISecretAuth use AppIdToAppSecret verify and