Skip to content

Commit c5327f7

Browse files
committed
Pequeños cambios
1 parent 93ce942 commit c5327f7

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

LIN.Cloud.Identity/Areas/Authentication/AuthenticationController.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,4 @@ public async Task<HttpReadOneResponse<AccountModel>> LoginWithToken([FromHeader]
108108

109109

110110

111-
112-
113-
114111
}

LIN.Cloud.Identity/Areas/Authentication/IntentsController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public HttpReadAllResponse<PassKeyModel> GetAll([FromHeader] string token)
2323

2424
// Cuenta
2525
var account = (from a in PassKeyHub.Attempts
26-
where a.Key == tokenInfo.Unique.ToLower()
26+
where a.Key.Equals(tokenInfo.Unique, StringComparison.CurrentCultureIgnoreCase)
2727
select a).FirstOrDefault().Value ?? new();
2828

2929
// Hora actual

0 commit comments

Comments
 (0)