Adds two-factor authentication to your application with MyDigipass.com
Have your user class implement the DigipassUser interface with the following methods:
/**
* @ORM\Column(type="string", nullable=true)
*/
protected $digipass_uuid;
/**
* @param string $digipass_uuid
*/
public function setDigipassUuid($digipass_uuid)
{
$this->digipass_uuid = $digipass_uuid;
}
/**
* @return string
*/
public function getDigipassUuid()
{
return $this->digipass_uuid;
}
Add the following line of code to the bottom of your page
{{ render_digipass_script() }}
Add the following line of code to your login screen :
{{ render_digipass_login() }}
Add the following code to the edit screen of the user
{{ render_digipass_connect(user) }}
Remove Kunstmaan Bundles dependency