8 current_user = TH.UserTokenHandler()
10 def wrapped(*args, **kwargs):
12 auth = current_user.is_authenticated()
13 if not auth.get(
"AUTH",
False):
14 return {
"Error":
"No access or session expired",
"Message": auth}
15 return func(*args, **kwargs)