Gregory Rudolph 3 years ago
parent
commit
723ee50d3e
Signed by: rudi
GPG Key ID: EF64F3CBD1A1EBDD
  1. 2
      Pages/Index.cshtml.cs

2
Pages/Index.cshtml.cs

@ -80,6 +80,7 @@ namespace NightmareCoreWeb2.Pages
{ {
ViewData["Title"] = "All Characters"; ViewData["Title"] = "All Characters";
this.CharacterListType = ViewData["Title"];
string sql = "select username,name,level,race,class from characters.characters join auth.account on characters.characters.account = auth.account.id"; string sql = "select username,name,level,race,class from characters.characters join auth.account on characters.characters.account = auth.account.id";
QuerySQL(sql); QuerySQL(sql);
return; return;
@ -150,7 +151,6 @@ namespace NightmareCoreWeb2.Pages
try try
{ {
Account a = new Account(Username); Account a = new Account(Username);
AccountAccess access = a.Access[0];
Console.WriteLine($"Account already exists {Username}"); Console.WriteLine($"Account already exists {Username}");
} }
catch (Exception) catch (Exception)

Loading…
Cancel
Save