Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Following on from #3107196: Add 2-step login process, I've added a couple of incidental pieces to make the 2 available types of login a bit more accessible:
* custom block that exposes "Login with UserID" and "Login with Certificate" buttons.
* replacement Login/Logout menu link to replace core one with Certificate Login versions.
Comment | File | Size | Author |
---|---|---|---|
#2 | certificatelogin-links-3107197-1.patch | 4.88 KB | spiderman |
Comments
Comment #2
spidermanPatch attached with both custom block and new menu item.
Comment #4
spidermanI've committed these as 2 distinct commits on the 8.x-1.x branch in prep for cutting a new alpha release.
Comment #5
bkraegelin CreditAttribution: bkraegelin commentedI incorporated this patch in my website. But I get errors:
Uncaught PHP Exception Symfony\\Component\\Routing\\Exception\\RouteNotFoundException: "Route "certificatelogin.initial" does not exist." at /var/www/drupal8/web/core/lib/Drupal/Core/Routing/RouteProvider.php line 208
Any suggestions?
Thanks, Birger
Comment #6
spiderman@bkraegelin Apologies for the slow reply here- I haven't been actively working on this module lately. If you tried to apply this patch to the latest release, it's very likely that just won't work, as there's been a bunch of refactoring and other work the patch is based on. If at all possible, I'd suggest trying to swap in the 8.x-1.x-dev release (even if only in a dev environment) to see if it works any better.
If so, please report back! I'll happily cut a new release when I have some feedback to know it's working for others :)
Comment #7
Ambient.ImpactCan this issue be closed as it seems it's all committed?
Comment #8
bkraegelin CreditAttribution: bkraegelin commentedClosed.
Issue resolved 2 years ago, but I don't remember how...
Comment #9
spidermanThanks for the update @bkraegelin. Closing :)