~nikwen/account-polld/authentication-penalty-count

« back to all changes in this revision

Viewing changes to cmd/account-polld/main.go

  • Committer: Niklas Wenzel
  • Date: 2015-09-22 21:55:57 UTC
  • Revision ID: nikwen.developer@gmail.com-20150922215557-joe73qf7meezszdg
Fix typo

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
                                if data.Enabled {
108
108
                                        log.Println("New account data for existing account with id", data.AccountId)
109
109
                                        account.penaltyCount = 0
110
 
                                        account.failedAuthentificationTries = 0
 
110
                                        account.failedAuthenticationTries = 0
111
111
                                        account.updateAuthData(data)
112
112
                                        account.Poll(false)
113
113
                                } else {