Skip to content
Permalink
Browse files
update expire time
  • Loading branch information
usmannasir committed Jan 23, 2020
1 parent e179aaf commit 2549404931865e302cc2c6ed71f9eb58a0415b96
Showing with 1 addition and 1 deletion.
  1. +1 −1 loginSystem/views.py
@@ -96,7 +96,7 @@ def verifyLogin(request):
else:
request.session['ipAddr'] = request.META.get('REMOTE_ADDR')

request.session.set_expiry(3600)
request.session.set_expiry(43200)
data = {'userID': admin.pk, 'loginStatus': 1, 'error_message': "None"}
json_data = json.dumps(data)
response.write(json_data)

0 comments on commit 2549404

Please sign in to comment.