Changelog
0.34.1
Patch Changes
- Updated dependencies [
3f1c4945]:- @accounts/mongo-password@0.33.0
- @accounts/mongo-sessions@0.34.0
0.34.0
Minor Changes
-
#1205
dc13f582Thanks @mrcleanandfresh! - ChangedidProvidertoidSessionProviderin@mongo-sessions. This change was made to give more granular control when creating custom identifiers for both sessions and users. The new option generates the _id for new Session objects. Going forward, theidProviderwill only be used for the creation of user identifiers.Updated
AccountsMongoOptionsin@mongoto have the newidSessionProvider.Migration: If you are using
idProviderfor the creation of a custom identifier for sessions, then you will need to move that logic to the newidSessionProviderfunction in the configuration.
Patch Changes
0.33.5
Patch Changes
-
Updated dependencies [
e81eb578,975ced7d]:- @accounts/mongo-magic-link@0.1.1
- @accounts/mongo-password@0.32.2
- @accounts/mongo-sessions@0.32.2
- @accounts/types@0.33.1
0.33.4
Patch Changes
0.33.3
Patch Changes
0.33.2
Patch Changes
0.33.1
Patch Changes
0.33.0
Minor Changes
-
#1150
22056642Thanks @larsivi! - Add support for magic-link strategy 🎉.Installation:
yarn add @accounts/magic-linkUsage:
import AccountsMagicLink from '@accounts/magic-link';
const accountsMagicLink = new AccountsMagicLink({});
const accountsServer = new AccountsServer(
{ db: accountsDb, tokenSecret: 'secret' },
{
magicLink: accountsMagicLink,
}
);
Patch Changes
- Updated dependencies [
22056642]:- @accounts/mongo-magic-link@0.1.0
- @accounts/types@0.33.0
- @accounts/mongo-password@0.32.1
- @accounts/mongo-sessions@0.32.1