Updating Dockerfiles

Adding instructions and cleaning up.
This commit is contained in:
Steve Smith
2018-06-07 15:50:32 -04:00
parent 74bc28e6bd
commit 48ad346b3c
3 changed files with 41 additions and 26 deletions

View File

@@ -10,7 +10,6 @@ using System.Threading.Tasks;
namespace Microsoft.eShopWeb.Web.Controllers
{
[Route("[controller]/[action]")]
[Authorize]
public class AccountController : Controller
@@ -40,7 +39,7 @@ namespace Microsoft.eShopWeb.Web.Controllers
await HttpContext.SignOutAsync(IdentityConstants.ExternalScheme);
ViewData["ReturnUrl"] = returnUrl;
if (!String.IsNullOrEmpty(returnUrl) &&
if (!String.IsNullOrEmpty(returnUrl) &&
returnUrl.IndexOf("checkout", StringComparison.OrdinalIgnoreCase) >= 0)
{
ViewData["ReturnUrl"] = "/Basket/Index";