UI #4

Merged
derek merged 26 commits from UI into main 2025-07-18 19:59:18 -07:00
3 changed files with 8 additions and 9 deletions
Showing only changes of commit 62c4dcac96 - Show all commits
+6 -6
View File
@@ -205,14 +205,14 @@ INSERT INTO Account (
DataServer
) VALUES (
1,
`admin`,
`admin@mistox.com`,
'admin',
'admin@mistox.com',
1,
`$2a$11$0UeWLLqTXe3FG161QVuI0OQJ9rulspUpMG581DI6KSzDXBbFKd00S`,
'$2a$11$0UeWLLqTXe3FG161QVuI0OQJ9rulspUpMG581DI6KSzDXBbFKd00S',
0,
5,
0,
`Admin`,
``,
``
'Admin',
'',
''
);
@@ -5,7 +5,6 @@ using System.Security.Claims;
using BoredCareers.Services;
using BoredCareers.Services.DatabaseService;
using BoredCareers.Entities;
using Microsoft.AspNetCore.Http.HttpResults;
using System.Web.Http;
namespace BoredCareers.Controllers {
@@ -110,7 +110,7 @@ namespace BoredCareers.Services.DatabaseService {
INSERT INTO Account
(ID,UserName,Email,EmailVerified,PasswordHash,FailedPasswordLock,PasswordAttempts,CurrentPasswordAttempts,Role,EmailToken,DataServer)
VALUES
(@ID,@UserName,@Email,@EmailVerified,@PasswordHash,@FailedPasswordLock,@PasswordAttempts,@CurrentPasswordAttempts,@Role,@EmailToken,@DataServer);
(@ID,@UserName,@Email,@EmailVerified,@PasswordHash,@FailedPasswordLock,@PasswordAttempts,@CurrentPasswordAttempts,@Role,@EmailToken,@DataServer)
ON DUPLICATE KEY UPDATE
UserName = @UserName,
Email = @Email,
@@ -120,7 +120,7 @@ namespace BoredCareers.Services.DatabaseService {
PasswordAttempts = @PasswordAttempts,
CurrentPasswordAttempts = @CurrentPasswordAttempts,
Role = @Role,
EmailToken = @EmailToken;
EmailToken = @EmailToken,
DataServer = @DataServer;
";