chore: remove unused 'must_reset_password' column (#15265)

Closes https://github.com/coder/internal/issues/153

Remove the 'must_reset_password' as it was introduced for use in the
"forgot password?" flow but never used.
This commit is contained in:
Danielle Maywood
2024-10-29 09:57:40 +00:00
committed by GitHub
parent 1d925ab043
commit 4e20eea9e6
8 changed files with 15 additions and 33 deletions
-2
View File
@@ -2879,8 +2879,6 @@ type User struct {
HashedOneTimePasscode []byte `db:"hashed_one_time_passcode" json:"hashed_one_time_passcode"`
// The time when the one-time-passcode expires.
OneTimePasscodeExpiresAt sql.NullTime `db:"one_time_passcode_expires_at" json:"one_time_passcode_expires_at"`
// Determines if the user should be forced to change their password.
MustResetPassword bool `db:"must_reset_password" json:"must_reset_password"`
}
type UserLink struct {