React to Caption => DisplayName
This commit is contained in:
parent
fa9cba8a7a
commit
21c043d788
|
|
@ -189,7 +189,7 @@ namespace MusicStore
|
||||||
// dnx . web
|
// dnx . web
|
||||||
app.UseMicrosoftAccountAuthentication(options =>
|
app.UseMicrosoftAccountAuthentication(options =>
|
||||||
{
|
{
|
||||||
options.Caption = "MicrosoftAccount - Requires project changes";
|
options.DisplayName = "MicrosoftAccount - Requires project changes";
|
||||||
options.ClientId = "000000004012C08A";
|
options.ClientId = "000000004012C08A";
|
||||||
options.ClientSecret = "GaMQ2hCnqAC6EcDLnXsAeBVIJOLmeutL";
|
options.ClientSecret = "GaMQ2hCnqAC6EcDLnXsAeBVIJOLmeutL";
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
<p>
|
<p>
|
||||||
@foreach (AuthenticationDescription p in loginProviders)
|
@foreach (AuthenticationDescription p in loginProviders)
|
||||||
{
|
{
|
||||||
<button type="submit" class="btn btn-default" id="@p.AuthenticationScheme" name="provider" value="@p.AuthenticationScheme" title="Log in using your @p.Caption account">@p.AuthenticationScheme</button>
|
<button type="submit" class="btn btn-default" id="@p.AuthenticationScheme" name="provider" value="@p.AuthenticationScheme" title="Log in using your @p.DisplayName account">@p.AuthenticationScheme</button>
|
||||||
}
|
}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@
|
||||||
<p>
|
<p>
|
||||||
@foreach (AuthenticationDescription p in Model.OtherLogins)
|
@foreach (AuthenticationDescription p in Model.OtherLogins)
|
||||||
{
|
{
|
||||||
<button type="submit" class="btn btn-default" id="@p.AuthenticationScheme" name="provider" value="@p.AuthenticationScheme" title="Log in using your @p.Caption account">@p.AuthenticationScheme</button>
|
<button type="submit" class="btn btn-default" id="@p.AuthenticationScheme" name="provider" value="@p.AuthenticationScheme" title="Log in using your @p.DisplayName account">@p.AuthenticationScheme</button>
|
||||||
}
|
}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -177,7 +177,7 @@ namespace MusicStore
|
||||||
|
|
||||||
app.UseMicrosoftAccountAuthentication(options =>
|
app.UseMicrosoftAccountAuthentication(options =>
|
||||||
{
|
{
|
||||||
options.Caption = "MicrosoftAccount - Requires project changes";
|
options.DisplayName = "MicrosoftAccount - Requires project changes";
|
||||||
options.ClientId = "[ClientId]";
|
options.ClientId = "[ClientId]";
|
||||||
options.ClientSecret = "[ClientSecret]";
|
options.ClientSecret = "[ClientSecret]";
|
||||||
options.Events = new OAuthEvents()
|
options.Events = new OAuthEvents()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue