Remove unused scope methods

This commit is contained in:
Pavel Škoda
2020-09-07 18:52:41 +02:00
committed by Michal Horejsek
parent f73aeec97f
commit 2e439e17cf
15 changed files with 30 additions and 51 deletions

View File

@ -164,7 +164,7 @@ func (s *FrontendQt) auth2FA(twoFacAuth string) int {
if s.auth == nil || s.authClient == nil {
err = fmt.Errorf("missing authentication in auth2FA %p %p", s.auth, s.authClient)
} else {
_, err = s.authClient.Auth2FA(twoFacAuth, s.auth)
err = s.authClient.Auth2FA(twoFacAuth, s.auth)
}
if s.showLoginError(err, "auth2FA") {