🐛 fix(clock-bot): enable Redis session storage for widget

Widget module now uses Redis storage mode to share sessions with
the bot module. This enables Matrix-SSO-Link auto-login for widget.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Till-JS 2026-02-16 11:20:54 +01:00
parent 6797195bdc
commit 52f88af4c5

View file

@ -10,7 +10,7 @@ import { SessionModule } from '@manacore/bot-services';
* The widget displays live timer status with controls.
*/
@Module({
imports: [ClockModule, SessionModule.forRoot()],
imports: [ClockModule, SessionModule.forRoot({ storageMode: 'redis' })],
controllers: [WidgetController],
})
export class WidgetModule {}