code clean up for default reminder email and added flag to disable registration on front end.
This commit is contained in:
@@ -51,6 +51,10 @@ namespace CarCareTracker.Controllers
|
||||
}
|
||||
public IActionResult Registration()
|
||||
{
|
||||
if (_config.GetServerDisabledRegistration())
|
||||
{
|
||||
return RedirectToAction("Index");
|
||||
}
|
||||
return View();
|
||||
}
|
||||
public IActionResult ForgotPassword()
|
||||
|
||||
Reference in New Issue
Block a user