Adds time-based one-time password authentication to the login form. The implementation uses standard SHA1 algorithm, 30s time interval and 6-digits code.
<?php
// Files in `adminneo-plugins` are autoloaded, so it is not necessary to include the source files.
return [
new \AdminNeo\OtpLoginPlugin(base64_decode("CXj1pecCovGnf4Z7XSfY7yIOzUM=")),
];
ℹ️ Note: The unique secret was randomly generated on this server and not stored anywhere.