Make email OTP login off by default
This commit is contained in:
@@ -35,7 +35,7 @@ if (!defined('NODE_EMIT_SECRET')) {
|
||||
|
||||
// ── Login OTP ────────────────────────────────────────────────────────────────
|
||||
// Set from OTP_REQUIRED in .env and reconciled by the entrypoint on every start.
|
||||
// Fails safe: anything other than the boolean false keeps the OTP step on.
|
||||
// Off by default: anything other than the boolean true leaves the OTP step off.
|
||||
if (!defined('OTP_REQUIRED')) {
|
||||
define('OTP_REQUIRED', ${OTP_REQUIRED});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user