loginqr: remove unused field
This commit is contained in:
@@ -31,9 +31,8 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type qrAuthResult struct {
|
type qrAuthResult struct {
|
||||||
PasswordNeeded bool
|
Authorization *tg.AuthAuthorization
|
||||||
Authorization *tg.AuthAuthorization
|
Error error
|
||||||
Error error
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type QRLogin struct {
|
type QRLogin struct {
|
||||||
@@ -90,7 +89,7 @@ func (ql *QRLogin) Start(ctx context.Context) (*bridgev2.LoginStep, error) {
|
|||||||
return nil
|
return nil
|
||||||
})
|
})
|
||||||
|
|
||||||
ql.auth <- qrAuthResult{false, auth, err}
|
ql.auth <- qrAuthResult{auth, err}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
// Wait for the first QR token and show it to the user.:
|
// Wait for the first QR token and show it to the user.:
|
||||||
|
|||||||
Reference in New Issue
Block a user