sharpie.webserver.accounts.decorators

Functions

consent_required(…)

Decorator to check if user has given consent.

sharpie.webserver.accounts.decorators.consent_required(view_func)

Decorator to check if user has given consent. Redirects to consent page if user hasn’t consented.