PHP code example of graphicmarket / kirby-2fa
1. Go to this page and download the library: Download graphicmarket/kirby-2fa library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
graphicmarket / kirby-2fa example snippets
'graphicmarket.kirby-2fa.database' => 'full/path/to/kirby-2fa/db.sqlite'
'graphicmarket.kirby-2fa.database' => function () {
return kirby()->root('storage') . '/kirby-2fa/db.sqlite';
},
'graphicmarket.kirby-2fa.issuer' => 'Your company/website name',