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

Fix: Expects user to verify email when there is no verification method present #150

Open
wants to merge 1 commit into
base: ranjitharpathology
Choose a base branch
from

Conversation

SangeethaTestPress
Copy link
Contributor

Changes done

  • Fixed showing verify email when there is no verification method present

Reason for the changes

  • The institute has verification method as no verification. But the app seems to be misleading with a message telling that verification email is sent.

@SangeethaTestPress SangeethaTestPress changed the title Fix incorrect registration behaviour Fix: Expects user to verify email when there is no verification method present Sep 29, 2020
Comment on lines +102 to +107
if (instituteSettings.getVerificationMethod().equals("NV")) {
verificationMethod = NONE;
} else {
verificationMethod =
instituteSettings.getVerificationMethod().equals("M") ? MOBILE : EMAIL;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This logic can be moved into the institute settings

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

Successfully merging this pull request may close these issues.

None yet

2 participants