File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<?php
22
33$ config = [
4+ /* Enable/disable Debug made */
5+ 'debug ' => false ,
6+
47 /* required configuration parameters */
58 'store ' => [
69 'webauthn:Database ' ,
Original file line number Diff line number Diff line change 2121 );
2222}
2323
24- $ config = Configuration::getInstance ( );
25- $ debugEnabled = $ config -> getValue ( ' logging.level ' , Logger:: NOTICE ) === Logger:: DEBUG ;
24+ $ moduleConfig = Configuration::getOptionalConfig ( ' module_webauthn.php ' );
25+ $ debugEnabled = $ moduleConfig -> getBoolean ( ' debug ' , false ) ;
2626
2727$ id = $ _REQUEST ['StateId ' ];
2828/** @var array $state */
Original file line number Diff line number Diff line change 2121 );
2222}
2323
24- $ config = Configuration::getInstance ( );
25- $ debugEnabled = $ config -> getValue ( ' logging.level ' , Logger:: NOTICE ) === Logger:: DEBUG ;
24+ $ moduleConfig = Configuration::getOptionalConfig ( ' module_webauthn.php ' );
25+ $ debugEnabled = $ moduleConfig -> getBoolean ( ' debug ' , false ) ;
2626
2727$ id = $ _REQUEST ['StateId ' ];
2828/** @var array $state */
You can’t perform that action at this time.
0 commit comments