We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05152b1 commit e3f1ee6Copy full SHA for e3f1ee6
src/netlify-identity.js
@@ -47,6 +47,12 @@ const netlifyIdentity = {
47
}
48
return store.gotrue;
49
},
50
+ refresh(force) {
51
+ if (!store.gotrue) {
52
+ store.openModal("login");
53
+ }
54
+ return store.gotrue.currentUser().jwt(force);
55
+ },
56
init: options => {
57
init(options);
58
0 commit comments