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:
Atakan Doğan Özban
2026-07-29 20:25:55 +02:00
co-authored by Cursor
parent 202dc16a52
commit fc45c35dbe
149 changed files with 3496 additions and 11263 deletions
+24 -2
View File
@@ -1,5 +1,7 @@
using System.Collections.Generic;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace atakanozbancom.Models.classes
{
@@ -9,6 +11,26 @@ namespace atakanozbancom.Models.classes
public int id { get; set; }
public string username { get; set; }
public string password { get; set; }
[Column("two_factor_enabled")]
public bool two_factor_enabled { get; set; }
[Column("two_factor_secret")]
[StringLength(512)]
public string two_factor_secret { get; set; }
[Column("login_failed_count")]
public int login_failed_count { get; set; }
[Column("login_lock_until")]
public DateTime? login_lock_until { get; set; }
[Column("totp_failed_count")]
public int totp_failed_count { get; set; }
[Column("totp_lock_until")]
public DateTime? totp_lock_until { get; set; }
public List<myprojects> MyProjects { get; set; }
}
}
}