validate auth from old app and fill auth info
This commit is contained in:
No files matched your search
@@ -180,9 +180,7 @@ func VerifyToken(r *http.Request, tokenType TokenType) (data *jwt.Token, errCode
|
||||
}
|
||||
|
||||
func GetAuthInfoByUserName(userName string) (data *pa.AuthInfo, err error) {
|
||||
// disini isi var `data`
|
||||
// return error jika terjadi apa2
|
||||
return
|
||||
return getAuthByUserName(userName)
|
||||
}
|
||||
|
||||
func ExtractToken(r *http.Request, tokenType TokenType) (data *pa.AuthInfo, err error) {
|
||||
|
||||
Reference in New Issue
Block a user