mirror of
https://github.com/amark/gun.git
synced 2025-06-07 06:36:46 +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){
|
if(sS){
|
||||||
(root._).opt.remember = true;
|
(root._).opt.remember = true;
|
||||||
((gun.back('user')._).opt||opt).remember = true;
|
((gun.back('user')._).opt||opt).remember = true;
|
||||||
if(sS.recall || sS.pair){
|
if(sS.recall || sS.pair) root.user().auth(JSON.parse(sS.pair), cb); // pair is more reliable than alias/pass
|
||||||
try{
|
|
||||||
root.user().auth(JSON.parse(sS.pair), cb); // pair is more reliable than alias/pass
|
|
||||||
}catch(e){}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}catch(e){}
|
}catch(e){}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user