Skip to content

Commit dfdc65e

Browse files
authored
Merge pull request #106 from PUFA-Computing/feat/2fa
chore: fix naming on 2fa
2 parents cf42161 + 464e39c commit dfdc65e

File tree

2 files changed

+3
-79
lines changed

2 files changed

+3
-79
lines changed

internal/handlers/files/file_handlers.go

Lines changed: 0 additions & 76 deletions
This file was deleted.

internal/models/user.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ type User struct {
3030
InstitutionName *string `json:"institution_name"`
3131
Gender string `json:"gender"`
3232
AdditionalNotes *string `json:"additional_notes"`
33-
TwoFAEnabled bool `json:"2fa_enabled"`
34-
TwoFAImage *string `json:"2fa_image"`
35-
TwoFASecret *string `json:"2fa_secret"`
33+
TwoFAEnabled bool `json:"twofa_enabled"`
34+
TwoFAImage *string `json:"twofa_image"`
35+
TwoFASecret *string `json:"twofa_secret"`
3636
}

0 commit comments

Comments
 (0)