mirror of
https://github.com/amark/gun.git
synced 2025-06-04 21:26:43 +00:00
improve sea.js
Removed the small try/catch in recall() because there is already a bigger try/catch.
This commit is contained in:
parent
edc122f63c
commit
01cd2050d2
6
sea.js
6
sea.js
@ -1008,11 +1008,7 @@
|
||||
if(sS){
|
||||
(root._).opt.remember = true;
|
||||
((gun.back('user')._).opt||opt).remember = true;
|
||||
if(sS.recall || sS.pair){
|
||||
try{
|
||||
root.user().auth(JSON.parse(sS.pair), cb); // pair is more reliable than alias/pass
|
||||
}catch(e){}
|
||||
}
|
||||
if(sS.recall || sS.pair) root.user().auth(JSON.parse(sS.pair), cb); // pair is more reliable than alias/pass
|
||||
}
|
||||
}catch(e){}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user