login*: set device config on login clients

This commit is contained in:
Tulir Asokan
2025-12-03 17:11:20 +02:00
parent 2004085312
commit 1ecb9e8b64
3 changed files with 13 additions and 7 deletions
+1
View File
@@ -85,6 +85,7 @@ func (q *QRLogin) Start(ctx context.Context) (*bridgev2.LoginStep, error) {
CustomSessionStorage: &q.authData,
UpdateHandler: updateManager,
Logger: zaplog,
Device: q.main.deviceConfig(),
})
q.authClientCtx, q.authClientCancel = context.WithTimeoutCause(log.WithContext(context.Background()), time.Hour, errors.New("phone login took over one hour"))