You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 12, 2023. It is now read-only.
This is required for the ENX redirector, but we've also always made the
assumption that these need to be globally unique.
Note that this requires changing the column to citext (for
case-insensitive matching) and to NULL out the default of '', since ''
is a duplicate of ''.
It also handles any existing duplicates by appending -N to them before
applying the database-level unique constraint.
RegionCodestring`gorm:"type:varchar(10); not null; default: ''"`
85
96
CodeLengthuint`gorm:"type:smallint; not null; default: 8"`
86
97
CodeDurationDurationSeconds`gorm:"type:bigint; not null; default: 900"`// default 15m (in seconds)
87
98
LongCodeLengthuint`gorm:"type:smallint; not null; default: 16"`
88
99
LongCodeDurationDurationSeconds`gorm:"type:bigint; not null; default: 86400"`// default 24h
89
100
// SMS Content
90
101
SMSTextTemplatestring`gorm:"type:varchar(400); not null; default: 'This is your Exposure Notifications Verification code: [longcode] Expires in [longexpires] hours'"`
91
102
92
-
// WelcomeMessage is arbitrary realm-defined data to display to users after
93
-
// selecting this realm. If empty, nothing is displayed. The format is
94
-
// markdown.
95
-
WelcomeMessagestring`gorm:"type:text"`
96
-
97
103
// MFAMode represents the mode for Multi-Factor-Authorization requirements for the realm.
98
104
MFAModeAuthRequirement`gorm:"type:smallint; not null; default: 0"`
0 commit comments