(*args, **kwargs)
| 409 | |
| 410 | @wraps(func) |
| 411 | def decorated_function(*args, **kwargs): |
| 412 | auth = auth_active(AUTH_GROUP) |
| 413 | if auth["status"] and "username" not in session: |
| 414 | return response(error=True, message=auth["msg"]) |
| 415 | return func(*args, **kwargs) |
| 416 | |
| 417 | return decorated_function |
| 418 |
nothing calls this directly
no test coverage detected