users: add note about invitationToken
this is a one time token that is valid until the account is set up. this is the reason it has no expiry time.
This commit is contained in:
@@ -28,7 +28,7 @@ CREATE TABLE IF NOT EXISTS users(
|
||||
twoFactorAuthenticationEnabled BOOLEAN DEFAULT false,
|
||||
source VARCHAR(128) DEFAULT "",
|
||||
role VARCHAR(32),
|
||||
inviteToken VARCHAR(128) DEFAULT "",
|
||||
inviteToken VARCHAR(128) DEFAULT "", // one time token until user sets up account
|
||||
resetToken VARCHAR(128) DEFAULT "",
|
||||
resetTokenCreationTime TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
active BOOLEAN DEFAULT 1,
|
||||
|
||||
Reference in New Issue
Block a user