Minor items
This commit is contained in:
parent
8f8b50d630
commit
bdff9462d3
@ -26,7 +26,7 @@ You'll then need to configure the following:
|
|||||||
DB_CONNECTION=sqlite # Your databsae configuration (must the same as SQRL_DATABASE below)
|
DB_CONNECTION=sqlite # Your databsae configuration (must the same as SQRL_DATABASE below)
|
||||||
...
|
...
|
||||||
SQRL_DATABASE=sqlite # Points to the SQRL database connection
|
SQRL_DATABASE=sqlite # Points to the SQRL database connection
|
||||||
SQRL_URL_LOGIN=https://site/sqrl/login # URL to your login page (not used with LUMEN
|
SQRL_URL_LOGIN=https://site/sqrl/login # URL to the page after successful authentication
|
||||||
SQRL_KEY_DOMAIN=site # URL to yours SQRL Server without http:// and https:// SQRL_API_ROUTE=/index.php/api/sqrl # Route to SQRL Server API
|
SQRL_KEY_DOMAIN=site # URL to yours SQRL Server without http:// and https:// SQRL_API_ROUTE=/index.php/api/sqrl # Route to SQRL Server API
|
||||||
SQRL_NONCE_MAX_AGE_MINUTES=5 # Max age in minutes of the valid nonce
|
SQRL_NONCE_MAX_AGE_MINUTES=5 # Max age in minutes of the valid nonce
|
||||||
SQRL_NONCE_SALT=RANDOM # Generate a random salt value to calculate the nonce
|
SQRL_NONCE_SALT=RANDOM # Generate a random salt value to calculate the nonce
|
||||||
|
@ -52,6 +52,7 @@ class Nonce
|
|||||||
$o->can = SQRL::base64_encode_url($can);
|
$o->can = SQRL::base64_encode_url($can);
|
||||||
$o->save();
|
$o->save();
|
||||||
|
|
||||||
|
Log::debug(sprintf('NUT [%s] created for (%s)',$o->nonce,$o->ip));
|
||||||
return $o;
|
return $o;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user