1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-14 17:18:32 -05:00

auth cookie expires after 30 days

only check hit offset when distance > 3 meters
fix null reference on unauthorized user
fixed stats not showing on profile if anticheat disabled
server client history turns red server is unresponsive
This commit is contained in:
RaidMax
2018-04-04 23:38:45 -05:00
parent 6ab37a6b6e
commit aec8ec6256
29 changed files with 455 additions and 352 deletions

View File

@ -16,8 +16,8 @@ namespace SharedLibrary.Services
{
public async Task<EFAlias> Create(EFAlias entity)
{
throw new Exception();
using (var context = new DatabaseContext())
throw await Task.FromResult(new Exception());
/*using (var context = new DatabaseContext())
{
var alias = new EFAlias()
{
@ -32,7 +32,7 @@ namespace SharedLibrary.Services
context.Aliases.Add(entity);
await context.SaveChangesAsync();
return entity;
}
}*/
}
public Task<EFAlias> CreateProxy()
@ -80,14 +80,14 @@ namespace SharedLibrary.Services
public async Task<EFAlias> Update(EFAlias entity)
{
throw new Exception();
using (var context = new DatabaseContext())
throw await Task.FromResult(new Exception());
/*using (var context = new DatabaseContext())
{
entity = context.Aliases.Attach(entity);
context.Entry(entity).State = EntityState.Modified;
await context.SaveChangesAsync();
return entity;
}
}*/
}
public async Task<EFAliasLink> CreateLink(EFAliasLink link)