The SecuPress minor version 2.2.2 is out since this august mais still contains a module glow up.
Thank you Axel
Usually a minor version just contains some fixes, ans this one is a need from Axel Ducoron who wanted to hijack the module to send a “magic link” to its users. But our module was not designed to do this, so I started to changed the functions structure to finally change the iterface of the login page and adding a user action link to send magic links.
Another modification, something that was not possible before, even if your role is not mandatory to connect with PasswordLess, vous can still ask for a magic link to connect from the login page!
Last thing, the user experience has been enhanced because instead of refreshing the page if your role is not mandatory, you can just click on “Connect with a password to show the old field.
PasswordLess v2.2.2
Before
![avant step1](https://secupress.me/wp-content/uploads/avant-step1.png)
Step 1 in v2.2 for everyone
![avant step2](https://secupress.me/wp-content/uploads/avant-step2.png)
Step 2 in v2.2 if your role is not mandatory
![les2](https://secupress.me/wp-content/uploads/les2.png)
Step 3 if your role is
After
If you didn’t check all the roles, you will have…
![apres step1](https://secupress.me/wp-content/uploads/apres-step1.png)
…step 1 in v2.2.2 with the possibility to connect with a password if your role is not mandatory
![apres step2](https://secupress.me/wp-content/uploads/apres-step2.png)
And a step 2 in v2.2.2 without page refreshing if you click on “Connect with a password“
![apres step1 2](https://secupress.me/wp-content/uploads/apres-step1-2.png)
…or step 1 v2.2.2 without the possibility to connect with a password if every role has been selected in PasswordLess
And now the action link to send a magic link to anyone
![apres magic link](https://secupress.me/wp-content/uploads/apres-magic-link.png)
Send a magic link to zzze?
What about you, do you use PasswordLess?