Skip to content

Normal User Login Issue #17

@chirayu-parmar

Description

@chirayu-parmar

Describe the bug
Normal users can’t login. The reason for the bug is that in ConnectionFactory class the checkLogin method is having hard-coded SQL query for ADMINISTRATOR instead of ADMINISTRATOR or Normal User. Therefore, if a Normal User tries to login into the application. This query returns a NULL result.

To Reproduce
Steps to reproduce the behavior:

  1. Enter Username : (Normal User's username)
  2. Enter password : (Normal User's password)
  3. User gets login error.

Expected behavior
Users should allow logging into the system if their Username and password associated with the Username is correct.

Screenshots
Screenshot 2023-08-13 at 5 51 25 PM

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