chiefonboarding / ChiefOnboarding

Free and open-source employee onboarding platform. Onboard new hires through Slack or the web portal.
https://chiefonboarding.com
GNU Affero General Public License v3.0
656 stars 121 forks source link

Fix user variable on access pages #392

Closed GDay closed 10 months ago

GDay commented 10 months ago

Using the get_user_model seems to overrule the user variable in the admin template, so I have changed it to request.user.

coveralls commented 10 months ago

Coverage Status

coverage: 93.841% (-0.01%) from 93.854% when pulling d475cb670da12b0fda4640774bfd7c95ad851ec9 on fix-request-user-variable-on-access-pages into 20c45a996b4e7c63de3c25a9b3d4f341003d76bb on master.