Add Go code analyzer workflow

This commit is contained in:
MHSanaei
2026-03-17 22:30:05 +01:00
parent 554981d9d3
commit f0f98c7122
3 changed files with 51 additions and 17 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ func (s *UserService) CheckUser(username string, password string, twoFactorCode
}
if gotp.NewDefaultTOTP(twoFactorToken).Now() != twoFactorCode {
return nil, errors.New("invalid 2fa code")
return nil, errors.New("invalid 2fa code")
}
}