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 a85708f commit 2b035f7Copy full SHA for 2b035f7
src/kit.ts
@@ -505,15 +505,13 @@ export class SessionKit {
505
// Call the `afterLogin` hooks that were registered by the LoginPlugins
506
for (const hook of context.hooks.afterLogin) await hook(context)
507
508
-
509
// Offer session key setup if configured and session does not have one yet
510
if (this.sessionKeyManager && !session.hasSessionKey()) {
511
try {
512
await session.setupSessionKey()
513
} catch (e) {
514
// User cancelled or setup failed - continue with regular session
515
// This is not a fatal error, the session is still valid
516
- console.log('Session key setup skipped or failed:', e)
517
}
518
519
// Save the session to storage if it has a storage instance.
0 commit comments