View Source ZoonkWeb.Plugs.AgeChecker (Zoonk v0.1.0-alpha)
Check if a user has reached the required age to view this application.
Link to this section Summary
Functions
Redirect users when they don't meet the minimum age requirement.
Only users who are 13 years old or older can view this application.
Link to this section Functions
@spec age_check(Plug.Conn.t(), Keyword.t()) :: Plug.Conn.t()
Redirect users when they don't meet the minimum age requirement.
Only users who are 13 years old or older can view this application.