Feature PB-24086

Hi every one , I see that in the update 4.0.0 you added this feature PB-24086 which allow the creation of a user recovery link as admin from cli.
Which is the commando to use this feature ?
Which this link a user is able to recover the link even if it forget the passphrase or the link is the same created by the button “Help, I lost my passphrase.” in the login page ?

Thanks for help

Hello @DeepOne00 , welcome to our community :slightly_smiling_face:

The concerned command to generate a recover link is

sudo su -s /bin/bash -c "/usr/share/php/passbolt/bin/cake recover_user -c -u email@domain.tld" www-data

With recover here, we are not talking about Account Recovery, we are talking about the re-configuration of an account on a new browser for example. So after following this link, the user will have to import his private key and the passphrase associated to it.

Hope it helps :wink:

thank for your reply.
I was doing some tests and if I click on Help, I lost my passphrase passbolt send me an email which allow me to insert private key but then asked me to insert the passphrase.
So, is the recovery account disable for Passbolt CE ?
If a user forgot the passphrase the only way is to delete and recreate the account isn’t it ?