@hashimea,
3. How to remove email address requirement from the patient login.
In the file openemr/portal/index.php, follow the below steps
- Comment the html template specified for E-mail address.
- Remove the email option in the reset credentials. In the below line of code remove the part isset($_GET[‘w’]).
<?php if ($GLOBALS['portal_two_pass_reset'] && isset($_GET['w']) && (isset($_GET['u']) || isset($_GET['p']))) { ?>;
- Modify the validation function from <?php if(isset($_GET[‘w’])) ?> to
<?php if(isset($_GET[‘u’]) && isset($_GET[‘p’]))?>
In the file openemr/portal/get_patient_info.php,
4. Currently all validation functions are done by mail [‘w’].But now we have to validate by using username using the id [‘u’].
Thanks,
ViSolve