mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
don't create 2 sessions in sixpack
This commit is contained in:
parent
5a9174b1de
commit
3836142cee
1 changed files with 0 additions and 1 deletions
|
@ -55,7 +55,6 @@
|
|||
if (_clientId = $cookies[_cookiePrefix + 'clientId']) {
|
||||
_session = new sp.Session({client_id:_clientId, base_url:_opts.baseUrl});
|
||||
} else {
|
||||
_session = new sp.Session({client_id:undefined, base_url:_opts.baseUrl});
|
||||
_session = new sp.Session({client_id:_opts.client_id, base_url:_opts.baseUrl});
|
||||
$cookies[_cookiePrefix + 'clientId'] = _clientId = _session.client_id;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue