Skip to content

Commit 70c39b3

Browse files
committed
Fix windows lint
1 parent 89cdc54 commit 70c39b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/auth/sspi_windows.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,9 @@ func (s *SSPI) newUser(username string, cfg *sspi.Source) (*user_model.User, err
196196
Language: cfg.DefaultLanguage,
197197
UseCustomAvatar: true,
198198
Avatar: avatars.DefaultAvatarLink(),
199-
EmailNotificationsPreference: models.EmailNotificationsDisabled,
199+
EmailNotificationsPreference: user_model.EmailNotificationsDisabled,
200200
}
201-
if err := models.CreateUser(user); err != nil {
201+
if err := user_model.CreateUser(user); err != nil {
202202
return nil, err
203203
}
204204

0 commit comments

Comments
 (0)