From 4075c7e91405debe5ebdacaff6ef359fa3c5c0d0 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Mon, 12 Nov 2012 12:57:42 +0530 Subject: [PATCH] passing server date in boot and checking expiry against the server date --- webnotes/boot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/webnotes/boot.py b/webnotes/boot.py index f5a6c9f61e..e4636819d3 100644 --- a/webnotes/boot.py +++ b/webnotes/boot.py @@ -48,6 +48,7 @@ def get_bootinfo(): bootinfo['control_panel'] = cp.copy() bootinfo['account_name'] = cp.get('account_id') bootinfo['sysdefaults'] = webnotes.utils.get_defaults() + bootinfo['server_date'] = webnotes.utils.nowdate() if webnotes.session['user'] != 'Guest': bootinfo['user_info'] = get_fullnames()