@model Zap.BI.Portal.Controllers.ChallengeAcceptedViewModel

@section Css { }
@section Scripts
{
    <script>
        @* This page is only meant to be loaded for login popups *@
        if (window.opener)
            window.opener.postMessage({ loginComplete: true }, location.origin);
        window.close();
        
        @* Redirect in case this isn't actually a popup *@
        location.href = "@(Model.ReturnUrl)";
    </script>
}
