@@ -85,7 +85,7 @@ type RegisterForm struct {
85
85
GRecaptchaResponse string `form:"g-recaptcha-response"`
86
86
}
87
87
88
- // Validate valideates the fields
88
+ // Validate validates the fields
89
89
func (f * RegisterForm ) Validate (ctx * macaron.Context , errs binding.Errors ) binding.Errors {
90
90
return validate (errs , ctx .Data , f , ctx .Locale )
91
91
}
@@ -122,7 +122,7 @@ type MustChangePasswordForm struct {
122
122
Retype string
123
123
}
124
124
125
- // Validate valideates the fields
125
+ // Validate validates the fields
126
126
func (f * MustChangePasswordForm ) Validate (ctx * macaron.Context , errs binding.Errors ) binding.Errors {
127
127
return validate (errs , ctx .Data , f , ctx .Locale )
128
128
}
@@ -135,7 +135,7 @@ type SignInForm struct {
135
135
Remember bool
136
136
}
137
137
138
- // Validate valideates the fields
138
+ // Validate validates the fields
139
139
func (f * SignInForm ) Validate (ctx * macaron.Context , errs binding.Errors ) binding.Errors {
140
140
return validate (errs , ctx .Data , f , ctx .Locale )
141
141
}
@@ -152,7 +152,7 @@ type AuthorizationForm struct {
152
152
CodeChallenge string
153
153
}
154
154
155
- // Validate valideates the fields
155
+ // Validate validates the fields
156
156
func (f * AuthorizationForm ) Validate (ctx * macaron.Context , errs binding.Errors ) binding.Errors {
157
157
return validate (errs , ctx .Data , f , ctx .Locale )
158
158
}
@@ -164,7 +164,7 @@ type GrantApplicationForm struct {
164
164
State string
165
165
}
166
166
167
- // Validate valideates the fields
167
+ // Validate validates the fields
168
168
func (f * GrantApplicationForm ) Validate (ctx * macaron.Context , errs binding.Errors ) binding.Errors {
169
169
return validate (errs , ctx .Data , f , ctx .Locale )
170
170
}
@@ -182,7 +182,7 @@ type AccessTokenForm struct {
182
182
CodeVerifier string `json:"code_verifier"`
183
183
}
184
184
185
- // Validate valideates the fields
185
+ // Validate validates the fields
186
186
func (f * AccessTokenForm ) Validate (ctx * macaron.Context , errs binding.Errors ) binding.Errors {
187
187
return validate (errs , ctx .Data , f , ctx .Locale )
188
188
}
@@ -304,7 +304,7 @@ type NewAccessTokenForm struct {
304
304
Name string `binding:"Required;MaxSize(255)"`
305
305
}
306
306
307
- // Validate valideates the fields
307
+ // Validate validates the fields
308
308
func (f * NewAccessTokenForm ) Validate (ctx * macaron.Context , errs binding.Errors ) binding.Errors {
309
309
return validate (errs , ctx .Data , f , ctx .Locale )
310
310
}
@@ -315,7 +315,7 @@ type EditOAuth2ApplicationForm struct {
315
315
RedirectURI string `binding:"Required" form:"redirect_uri"`
316
316
}
317
317
318
- // Validate valideates the fields
318
+ // Validate validates the fields
319
319
func (f * EditOAuth2ApplicationForm ) Validate (ctx * macaron.Context , errs binding.Errors ) binding.Errors {
320
320
return validate (errs , ctx .Data , f , ctx .Locale )
321
321
}
@@ -335,7 +335,7 @@ type TwoFactorScratchAuthForm struct {
335
335
Token string `binding:"Required"`
336
336
}
337
337
338
- // Validate valideates the fields
338
+ // Validate validates the fields
339
339
func (f * TwoFactorScratchAuthForm ) Validate (ctx * macaron.Context , errs binding.Errors ) binding.Errors {
340
340
return validate (errs , ctx .Data , f , ctx .Locale )
341
341
}
@@ -345,7 +345,7 @@ type U2FRegistrationForm struct {
345
345
Name string `binding:"Required"`
346
346
}
347
347
348
- // Validate valideates the fields
348
+ // Validate validates the fields
349
349
func (f * U2FRegistrationForm ) Validate (ctx * macaron.Context , errs binding.Errors ) binding.Errors {
350
350
return validate (errs , ctx .Data , f , ctx .Locale )
351
351
}
@@ -355,7 +355,7 @@ type U2FDeleteForm struct {
355
355
ID int64 `binding:"Required"`
356
356
}
357
357
358
- // Validate valideates the fields
358
+ // Validate validates the fields
359
359
func (f * U2FDeleteForm ) Validate (ctx * macaron.Context , errs binding.Errors ) binding.Errors {
360
360
return validate (errs , ctx .Data , f , ctx .Locale )
361
361
}
0 commit comments