Browse Source

Updated credit card default exipiration value. (#1535)

pull/1539/head
Sumit Ghosh 4 years ago
committed by GitHub
parent
commit
2711d33e3f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      src/Services/Identity/Identity.API/Data/ApplicationDbContextSeed.cs
  2. +1
    -1
      src/Services/Identity/Identity.API/Setup/Users.csv
  3. +1
    -1
      src/Web/WebMVC/Infrastructure/Middlewares/ByPassAuthMiddleware.cs

+ 1
- 1
src/Services/Identity/Identity.API/Data/ApplicationDbContextSeed.cs View File

@ -149,7 +149,7 @@ namespace Microsoft.eShopOnContainers.Services.Identity.API.Data
City = "Redmond",
Country = "U.S.",
Email = "demouser@microsoft.com",
Expiration = "12/20",
Expiration = "12/21",
Id = Guid.NewGuid().ToString(),
LastName = "DemoLastName",
Name = "DemoUser",


+ 1
- 1
src/Services/Identity/Identity.API/Setup/Users.csv View File

@ -1,2 +1,2 @@
CardHolderName,CardNumber,CardType,City,Country,Email,Expiration,LastName,Name,PhoneNumber,UserName,ZipCode,State,Street,SecurityNumber,NormalizedEmail,NormalizedUserName,Password
DemoUser,4012888888881881,1,Redmond,U.S.,demouser@microsoft.com,12/20,DemoLastName,DemoUser,1234567890,demouser@microsoft.com,98052,WA,15703 NE 61st Ct,535,DEMOUSER@MICROSOFT.COM,DEMOUSER@MICROSOFT.COM,Pass@word1
DemoUser,4012888888881881,1,Redmond,U.S.,demouser@microsoft.com,12/21,DemoLastName,DemoUser,1234567890,demouser@microsoft.com,98052,WA,15703 NE 61st Ct,535,DEMOUSER@MICROSOFT.COM,DEMOUSER@MICROSOFT.COM,Pass@word1

+ 1
- 1
src/Web/WebMVC/Infrastructure/Middlewares/ByPassAuthMiddleware.cs View File

@ -66,7 +66,7 @@ namespace WebMVC.Infrastructure.Middlewares
new Claim("http://schemas.microsoft.com/identity/claims/identityprovider", "ByPassAuthMiddleware"),
new Claim("http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname","User"),
new Claim("sub", currentUserId),
new Claim("card_expiration", "12/20"),
new Claim("card_expiration", "12/21"),
new Claim("http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname","Microsoft")}
, "ByPassAuth");


Loading…
Cancel
Save