Skip to content

Update otpController.js to check if phone number belongs to the employee then only proceed with otp generation #28

@onkar69483

Description

@onkar69483

Currently it will only check if employee exists, but if we enter any phone number which will not belong to employee record, it still will send otp. Fix this.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions