Add support page, admin features, and auth hardening.
Rename public affiliate route to /support with localized nav labels, and include affiliate/social/wallpaper admin, 2FA login, and related site updates. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
202dc16a52
commit
fc45c35dbe
@@ -0,0 +1,8 @@
|
||||
IF COL_LENGTH('dbo.admins', 'two_factor_enabled') IS NULL
|
||||
BEGIN
|
||||
ALTER TABLE dbo.admins ADD two_factor_enabled BIT NOT NULL CONSTRAINT DF_admins_two_factor_enabled DEFAULT(0);
|
||||
END
|
||||
IF COL_LENGTH('dbo.admins', 'two_factor_secret') IS NULL
|
||||
BEGIN
|
||||
ALTER TABLE dbo.admins ADD two_factor_secret NVARCHAR(64) NULL;
|
||||
END
|
||||
Reference in New Issue
Block a user