mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 19:49:20 +03:00
Add Gmail XAUTH support
This commit is contained in:
parent
08333610ce
commit
32ceafa37f
16 changed files with 359 additions and 138 deletions
|
|
@ -69,6 +69,12 @@ class AbstractAjaxPromises extends AbstractBasicPromises {
|
|||
isCached = pInt(data.Time) > microtime() - start;
|
||||
}
|
||||
|
||||
if (data && data.UpdateToken) {
|
||||
if (GlobalsData.__APP__ && GlobalsData.__APP__.setClientSideToken) {
|
||||
GlobalsData.__APP__.setClientSideToken(data.UpdateToken);
|
||||
}
|
||||
}
|
||||
|
||||
// backward capability
|
||||
let type = '';
|
||||
switch (true) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue