Skip to content

Commit

Permalink
Fix unnecessary semicolon usage in lambda expressions
Browse files Browse the repository at this point in the history
Replaces misplaced semicolons with closing braces in multiple files, ensuring proper lambda expression syntax. No functional changes were made.
  • Loading branch information
khalidabuhakmeh committed Feb 13, 2025
1 parent b301a3c commit 5e8fa43
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public async Task<IActionResult> OnPost()
IsPersistent = true,
ExpiresUtc = DateTimeOffset.UtcNow.Add(LoginOptions.RememberMeLoginDuration)
};
};
}

// issue authentication cookie with subject ID and username
var isuser = new IdentityServerUser(user.SubjectId)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async Task Callback(RedirectContext ctx)
await inner.Invoke(ctx);
}
}
};
}

return Callback;
}
Expand All @@ -73,7 +73,7 @@ async Task Callback(MessageReceivedContext ctx)
await inner.Invoke(ctx);
}
}
};
}

return Callback;
}
Expand All @@ -89,7 +89,7 @@ async Task Callback(AuthenticationFailedContext ctx)
await inner.Invoke(ctx);
}
}
};
}

return Callback;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ async Task Callback(CookieSigningOutContext ctx)
{
await inner.Invoke(ctx);
}
};
}

return Callback;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Task Callback(CookieValidatePrincipalContext ctx)
}

return result;
};
}

return Callback;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Task Callback(CookieSlidingExpirationContext ctx)
}

return result;
};
}

return Callback;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public async Task<IActionResult> OnPost()
{
props.IsPersistent = true;
props.ExpiresUtc = DateTimeOffset.UtcNow.Add(LoginOptions.RememberMeLoginDuration);
};
}

// issue authentication cookie with subject ID and username
var isuser = new IdentityServerUser(user.SubjectId)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public async Task<IActionResult> OnPost()
{
props.IsPersistent = true;
props.ExpiresUtc = DateTimeOffset.UtcNow.Add(LoginOptions.RememberMeLoginDuration);
};
}

// issue authentication cookie with subject ID and username
var isuser = new IdentityServerUser(user.SubjectId)
Expand Down

0 comments on commit 5e8fa43

Please sign in to comment.