Laura10101 / contractor-tax-calculator

0 stars 2 forks source link

Able to access secure contractor pages while logged out #215

Closed Laura10101 closed 9 months ago

Laura10101 commented 9 months ago

Steps to reproduce

  1. Logout of all accounts
  2. While logged out, access any of the contractor URLs (/contractor/subscription/ or /contractor/home/ or /contractor/checkout/ or /contractor/calculations/)

Expected result The user will be redirected back to the index page

Actual result The user is allowed to view the page

Laura10101 commented 9 months ago

Added the @login_required decorator to all contractor views.