passing server date in boot and checking expiry against the server date

This commit is contained in:
Rushabh Mehta 2012-11-12 12:57:42 +05:30
parent 72a80e542f
commit 4075c7e914

View file

@ -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()