Skip to content

Small Error in AccountController ConfirmEmail #4

@eggbeard

Description

@eggbeard

I think the logic for ConfirmEmail got messed up when changing the null check of string to a > 0 check for an int.

It should be something like:

if(userId > 0 && code != null){
//Do success stuff
}
//Do Error stuff

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