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
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