Some cleanup
1. Removing a bug # from code which is fixed. 2. Removing a piece of test that was added while testing.
This commit is contained in:
parent
c299a13927
commit
1b6ee846ed
|
|
@ -4,6 +4,7 @@
|
||||||
<h4>Use another service to log in.</h4>
|
<h4>Use another service to log in.</h4>
|
||||||
<hr />
|
<hr />
|
||||||
@{
|
@{
|
||||||
|
//TODO: Need to replace with the helper that filters non external ones. GetExternalAuthenticationTypes()
|
||||||
var loginProviders = Context.GetAuthenticationTypes();
|
var loginProviders = Context.GetAuthenticationTypes();
|
||||||
if (loginProviders.Count() == 0)
|
if (loginProviders.Count() == 0)
|
||||||
{
|
{
|
||||||
|
|
@ -16,13 +17,13 @@
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
<p>asdfasdf</p>
|
|
||||||
using (Html.BeginForm("ExternalLogin", "Account", new { ReturnUrl = Model.ReturnUrl }))
|
using (Html.BeginForm("ExternalLogin", "Account", new { ReturnUrl = Model.ReturnUrl }))
|
||||||
{
|
{
|
||||||
@Html.AntiForgeryToken()
|
@Html.AntiForgeryToken()
|
||||||
<div id="socialLoginList">
|
<div id="socialLoginList">
|
||||||
<p>
|
<p>
|
||||||
@foreach (AuthenticationDescription p in loginProviders)
|
@*TODO: Temporary hack for the above issue. Needs to be removed once GetExternalAuthenticationTypes() is available*@
|
||||||
|
@foreach (AuthenticationDescription p in loginProviders.Where(a => a.Caption != null))
|
||||||
{
|
{
|
||||||
<button type="submit" class="btn btn-default" id="@p.AuthenticationType" name="provider" value="@p.AuthenticationType" title="Log in using your @p.Caption account">@p.AuthenticationType</button>
|
<button type="submit" class="btn btn-default" id="@p.AuthenticationType" name="provider" value="@p.AuthenticationType" title="Log in using your @p.Caption account">@p.AuthenticationType</button>
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,8 @@
|
||||||
@if (Model != null)
|
@if (Model != null)
|
||||||
{
|
{
|
||||||
<li>
|
<li>
|
||||||
<small><i>@Html.Label(null, "New!", new { style = "color: red" })</i></small>
|
<br />
|
||||||
|
<small><i>@Html.Label(null, "New Arrivals!", new { style = "color: red" })</i></small>
|
||||||
<i>@Html.ActionLink(Model.Title, "Details", "Store", new { id = Model.AlbumId }, new { id = "NewArrivalsPanel" })</i>
|
<i>@Html.ActionLink(Model.Title, "Details", "Store", new { id = Model.AlbumId }, new { id = "NewArrivalsPanel" })</i>
|
||||||
</li>
|
</li>
|
||||||
}
|
}
|
||||||
|
|
@ -95,7 +95,6 @@ namespace E2ETests
|
||||||
applicationPath = Path.GetFullPath(applicationPath.Replace('\\', '/'));
|
applicationPath = Path.GetFullPath(applicationPath.Replace('\\', '/'));
|
||||||
|
|
||||||
//Mono does not have a way to pass in a --appbase switch. So it will be an environment variable.
|
//Mono does not have a way to pass in a --appbase switch. So it will be an environment variable.
|
||||||
//https://github.com/aspnet/KRuntime/issues/580
|
|
||||||
Environment.SetEnvironmentVariable("KRE_APPBASE", applicationPath);
|
Environment.SetEnvironmentVariable("KRE_APPBASE", applicationPath);
|
||||||
Console.WriteLine("Setting the KRE_APPBASE to {0}", applicationPath);
|
Console.WriteLine("Setting the KRE_APPBASE to {0}", applicationPath);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue