mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-13 22:32:15 +00:00
Login required to view the index page
This commit is contained in:
@@ -60,6 +60,7 @@ def check_permissions(user, application=None):
|
||||
|
||||
### General Views
|
||||
|
||||
@login_required
|
||||
def index(request):
|
||||
hrstaff = check_permissions(request.user)
|
||||
return render_to_response('hr/index.html', locals(), context_instance=RequestContext(request))
|
||||
|
||||
Reference in New Issue
Block a user