Skip to content

Commit

Permalink
Update apiauth.go fixed infinite recursive call
Browse files Browse the repository at this point in the history
  • Loading branch information
dxas90 authored Mar 14, 2019
1 parent c2b6cb5 commit 914bbfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/apiauth/apiauth.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 914bbfd

Please sign in to comment.