Binouz
Binouz

Reputation: 11

Meteor accounts-base - Log out without unstore token

I use accounts-base for my project, and I would like to open a connection from external people during x days.

To open this connection, I create a token (Accounts._generateStampedLoginToken) and I insert it in a special user (Accounts._insertLoginToken).

Next I can login with this token (Accounts.loginWithToken).

The problem is when I log out, this destroy my token whereas I would like the possibility to reconnect to this token.

How can I do that ? Is there a way the add an options or something to bypass the this._unstoreLoginToken() ?

Thanks.

Upvotes: 1

Views: 122

Answers (0)

Related Questions