mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 05:41:09 +02:00
🐛 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:
parent
6797195bdc
commit
52f88af4c5
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue