Avalonia Start
This commit is contained in:
@@ -71,7 +71,7 @@ namespace LaDOSE.Api.Controllers
|
||||
});
|
||||
}
|
||||
|
||||
//[AllowAnonymous]
|
||||
[AllowAnonymous]
|
||||
[HttpPost("register")]
|
||||
public IActionResult Register([FromBody]ApplicationUser userDto)
|
||||
{
|
||||
|
||||
@@ -40,11 +40,6 @@ namespace LaDOSE.Api
|
||||
public void ConfigureServices(IServiceCollection services)
|
||||
{
|
||||
//Fix Gentoo Issue.
|
||||
|
||||
var MySqlServer = this.Configuration["MySql:Server"];
|
||||
var MySqlDatabase = this.Configuration["MySql:Database"];
|
||||
var MySqlUser = this.Configuration["MySql:User"];
|
||||
var MySqlPassword = this.Configuration["MySql:Password"];
|
||||
if (Convert.ToBoolean(this.Configuration["FixGentoo"]))
|
||||
{
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user