Updating Dockerfiles
Adding instructions and cleaning up.
This commit is contained in:
1 parent
74bc28e6bd
commit
48ad346b3c
3 files changed
+41
-26
No files matched your search
@@ -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";
|
||||
|
||||
Reference in new issue
Block a user