Skip to content

Navigation Menu

Sign in
Sign up

/aspnet/samples/blob/main/samples/aspnet/Identity/AspNet.Identity.MySQL/UserStore.cs bad ArgumentNullExceptions #380

Open

Description

I was hunting for an example IUserClaimStore and the first thing that showed up was this sample. There's a few simple copy+paste errors.

AddClaimAsync and RemoveClaimAsync have ArgumentNullException("user"); for if (claim == null). It should be something like ArgumentNullException("claim");

The rest of the file appears correct.

It's a zero priority thing, but thought I'd toss it out there.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      AltStyle によって変換されたページ (->オリジナル) /