Skip to content

Reset password problem #688

Description

@imaksoud2025

Hey,

we have problems when we want to reset the password using the email reset password request:

in this code UserEntity.Current is null when request.code is not empty:

Error: Value cannot be null. (Parameter 'lite')

**if (string.IsNullOrEmpty(request.newPassword))
return ModelError("newPassword", LoginAuthMessage.PasswordMustHaveAValue.NiceToString());

var error = UserEntity.OnValidatePassword(request.newPassword, UserEntity.Current.Retrieve());
if (error != null)
return ModelError("newPassword", error);

var rpr = ResetPasswordRequestLogic.ResetPasswordRequestExecute(request.code, request.newPassword);**

Is it a general problem or only for us?

Regards

Imad

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions