Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User Edit and Current Password Mandatory Field Validation Not Working #1829

Open
ashishkumar-webkul opened this issue Dec 12, 2024 · 1 comment
Labels

Comments

@ashishkumar-webkul
Copy link
Collaborator

Bug Report

Title

User Edit and Current Password Mandatory Field Validation Not Working

Description

When editing a user, the Current Password field is expected to be mandatory for any changes. However, the mandatory validation for this field is not functioning correctly, allowing users to save changes without entering the current password.

Steps to Reproduce

  1. Go to the Admin Panel.
  2. Navigate to Users and select a user to edit.
  3. Make changes to the user's details (e.g., name or email) without entering the current password.
  4. Click on the Save button.

Expected Behavior

An error message should appear, indicating that the Current Password field is required before saving any changes.

Actual Behavior

The changes are saved without prompting for or validating the Current Password field.

Suggested Fix

  • Implement mandatory validation for the Current Password field.
  • Ensure that the system verifies the entered password before saving the changes.

Priority

High

Attachments

Validation.not.working.mp4
@phyothiha
Copy link

@ashishkumar-webkul The idea not validating on password field while updating the user information is that you do not have to re-enter the user password while updating other information unless you intend to change new password. This process is normal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants