From 21c043d788134badfb2ec58c5d7ae5642e77796d Mon Sep 17 00:00:00 2001 From: Hao Kung Date: Wed, 23 Sep 2015 15:11:27 -0700 Subject: [PATCH] React to Caption => DisplayName --- src/MusicStore/Startup.cs | 2 +- src/MusicStore/Views/Account/_ExternalLoginsListPartial.cshtml | 2 +- src/MusicStore/Views/Manage/ManageLogins.cshtml | 2 +- test/E2ETests/compiler/shared/Mocks/StartupSocialTesting.cs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/MusicStore/Startup.cs b/src/MusicStore/Startup.cs index ad21b4d664..b9035c9091 100644 --- a/src/MusicStore/Startup.cs +++ b/src/MusicStore/Startup.cs @@ -189,7 +189,7 @@ namespace MusicStore // dnx . web app.UseMicrosoftAccountAuthentication(options => { - options.Caption = "MicrosoftAccount - Requires project changes"; + options.DisplayName = "MicrosoftAccount - Requires project changes"; options.ClientId = "000000004012C08A"; options.ClientSecret = "GaMQ2hCnqAC6EcDLnXsAeBVIJOLmeutL"; }); diff --git a/src/MusicStore/Views/Account/_ExternalLoginsListPartial.cshtml b/src/MusicStore/Views/Account/_ExternalLoginsListPartial.cshtml index 210f134e03..b2f5d220ce 100644 --- a/src/MusicStore/Views/Account/_ExternalLoginsListPartial.cshtml +++ b/src/MusicStore/Views/Account/_ExternalLoginsListPartial.cshtml @@ -21,7 +21,7 @@

@foreach (AuthenticationDescription p in loginProviders) { - + }

diff --git a/src/MusicStore/Views/Manage/ManageLogins.cshtml b/src/MusicStore/Views/Manage/ManageLogins.cshtml index 0023a539e5..5155eb76ec 100644 --- a/src/MusicStore/Views/Manage/ManageLogins.cshtml +++ b/src/MusicStore/Views/Manage/ManageLogins.cshtml @@ -46,7 +46,7 @@

@foreach (AuthenticationDescription p in Model.OtherLogins) { - + }

diff --git a/test/E2ETests/compiler/shared/Mocks/StartupSocialTesting.cs b/test/E2ETests/compiler/shared/Mocks/StartupSocialTesting.cs index e8413eb686..c5112d3bc3 100644 --- a/test/E2ETests/compiler/shared/Mocks/StartupSocialTesting.cs +++ b/test/E2ETests/compiler/shared/Mocks/StartupSocialTesting.cs @@ -177,7 +177,7 @@ namespace MusicStore app.UseMicrosoftAccountAuthentication(options => { - options.Caption = "MicrosoftAccount - Requires project changes"; + options.DisplayName = "MicrosoftAccount - Requires project changes"; options.ClientId = "[ClientId]"; options.ClientSecret = "[ClientSecret]"; options.Events = new OAuthEvents()