1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

RCon error handling is clearer

Show chat on mobile view of server overview
basic authentication
switched to extreme-ip-lookup for ip lookups (SSL)
This commit is contained in:
RaidMax
2018-04-04 14:38:34 -05:00
parent 071cab1ecf
commit 6ab37a6b6e
27 changed files with 476 additions and 123 deletions

View File

@ -71,5 +71,34 @@ namespace WebfrontCore.Controllers
command = $"!unban @{targetId} {Reason}"
}));
}
public IActionResult LoginForm()
{
var login = new ActionInfo()
{
ActionButtonLabel = "Login",
Name = "Login",
Inputs = new List<InputInfo>()
{
new InputInfo()
{
Name = "UserID"
},
new InputInfo()
{
Name = "Password",
Type = "password",
}
},
Action = "Login"
};
return View("_ActionForm", login);
}
public IActionResult Login(int userId, string password)
{
return RedirectToAction("Login", "Account", new { userId, password });
}
}
}