This commit is contained in:
Zel
2025-02-23 18:47:21 +08:00
parent eaaffeeccb
commit e46a7ca31c
104 changed files with 2630 additions and 2516 deletions

View File

@@ -3,9 +3,9 @@
public static class Constants
{
public const string CRYPTOCHECK = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
public const string DEFAULTUSERNAME = "admin@tightwiki.com";
public const string DEFAULTUSERNAME = "admin@ipangci.top";
public const string DEFAULTACCOUNT = "admin";
public const string DEFAULTPASSWORD = "2Tight2Wiki@";
public const string DEFAULTPASSWORD = "Zhu0906.";
public enum WikiTheme
{
@@ -16,15 +16,15 @@
public enum AdminPasswordChangeState
{
/// <summary>
/// The password has not been changed, display a big warning.
/// 密码为默认
/// </summary>
IsDefault,
/// <summary>
/// All is well!
/// 已修改密码
/// </summary>
HasBeenChanged,
/// <summary>
/// The default password status does not exist and the password needs to be set to default.
/// 默认密码状态不存在,需要将密码设置为默认值
/// </summary>
NeedsToBeSet
}
@@ -45,19 +45,19 @@
public static class Roles
{
/// <summary>
/// Administrators can do anything. Add, edit, delete, pages, users, etc.
///管理员可以做任何事情。添加、编辑、删除、页面、用户等。
/// </summary>
public const string Administrator = "Administrator";
/// <summary>
/// Read-only user with a profile.
/// 成员
/// </summary>
public const string Member = "Member";
/// <summary>
/// Contributor can add and edit pages.
/// 版主
/// </summary>
public const string Contributor = "Contributor";
/// <summary>
/// Moderators can add, edit and delete pages.
/// 主持
/// </summary>
public const string Moderator = "Moderator";
}