passing server date in boot and checking expiry against the server date
This commit is contained in:
parent
72a80e542f
commit
4075c7e914
1 changed files with 1 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue