refactored logic

This commit is contained in:
0xdcarns
2021-10-26 12:27:29 -04:00
parent d25cc93598
commit 8f72ecbaa0
33 changed files with 985 additions and 1092 deletions

View File

@@ -143,7 +143,7 @@ func ValidateUserToken(token string, user string, adminonly bool) error {
return errors.New("Missing Auth Token.")
}
username, _, isadmin, err := functions.VerifyUserToken(authToken)
username, _, isadmin, err := logic.VerifyUserToken(authToken)
if err != nil {
return errors.New("Error Verifying Auth Token")
}