The Multi Step Login module offers following features and usability improvements
1>First form checks user is already registered in site or not using email or username.
If user is already registered then login form will come otherwise user will redirected to user register form.
2>In second form user can login with email id or username.
- Multi Step Login module path is multi-step-form.Example: example.com/multi-step-form
Project link
https://www.drupal.org/project/mutli_step_login
Git instructions
git clone --branch 8.x-1.x https://git.drupal.org/project/mutli_step_login.git
Comments
Comment #2
avpadernoI corrected the Git instructions.
Comment #3
lawsands commentedHi bsumit,
Please fix the pareview errors reported
Will do a manual review in some time.
https://pareview.sh/pareview/https-git.drupal.org-project-mutli_step_log...
Comment #4
sumit-k commentedHi Lawsands,
I fixed pareview errors.Please Check.
Comment #5
sumit-k commentedThanks kiamlaluno for correction.
Comment #6
keshavv commentedI have manually check your code. Looking Good
I also gone through pareview , all coding standard issues are fixed.
Good work .
Comment #7
sumit-k commentedThanks Keshav for reviews.
Comment #8
avpadernoThat is not how a link is created. See the code used for the login block.
The user.private_tempstore service is deprecated and replaced by the tempstore.private service. The code doesn't check the value returned from
$tempstore->get('combovalue').There is no need to directly access the database to check a user account exists. That is not what Drupal core does.
That code can be reduced to a single line.
The code in src/Form/MultiStepForm.php, if it aims to replace the login code used from Drupal core, it's too minimalist. It doesn't do many of the checks Drupal core does, with the consequence, for example, of not stopping users who keep trying to log in.
Comment #9
sumit-k commentedHI kiamlaluno ,
I have solved following mentioned issues.Please check.
Comment #10
sumit-k commentedComment #11
manish34jain commentedHi bsumit,
I have install on simplytest.me https://df6mj.ply.st/admin/reports/dblog/event/47
and its showing notice.
Notice: Undefined variable: output in multi_step_help() (line 45 of /home/df6mj/www/modules/mutli_step_login/multi_step.module)
check screenshot.
Thanks
Comment #12
avpadernoTo see the log directly on the simplytest.me site, you need to log in using admin as username and password. It will be accessible until the site isn't destroyed from simplytest.me.
Comment #13
manish34jain commentedHi bsumit,
use this and check.
Thanks
Comment #14
sumit-k commentedHi manish,
Thanks for patch.I fixed all notices and warnings.Please review.
Comment #15
manish34jain commentedHello bsumit,
Now it's working fine.
Thanks
Comment #16
girishpanchal07 commented@bsumit5577,
still, I got some warnings and errors from automatic testing tools (Pareview.sh).
https://pareview.sh/pareview/https-git.drupal.org-project-mutli_step_log...
Please fix these issues.
Thanks.
Comment #17
sumit-k commentedHi girishpanchal,
Pareview.sh notices and warnings are fixed.please check.
Comment #18
girishpanchal07 commentedHi, bsumit5577,
I think you should make your module user login interface same as like drupal login interface(http://prntscr.com/k7zrto).
This is a suggestion for you.
Thanks.
Comment #19
avpadernoAs side note,
$user->getDisplayName()doesn't return the username, but the name to show in pages instead of the username. By default, Drupal core returns the same value returned for the username, but any third-party module can change that.Comment #20
avpadernoThank you for your contribution!
I am going to update your account so you can opt into security advisory coverage now.
These are some recommended readings to help with excellent maintainership:
You can find more contributors chatting on the IRC #drupal-contribute channel. So, come hang out and stay involved.
Thank you, also, for your patience with the review process.
Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
I thank all the dedicated reviewers as well.
Comment #21
sumit-k commentedThank you very much kiamlaluno and all reviewers for reviews. I am grateful to all of you.Sure, i will follow your guidelines.
Thanks