Remove DEBUG lock-screen bypass, add DEBUG mode policy
All checks were successful
check / check (push) Successful in 11s
All checks were successful
check / check (push) Successful in 11s
DEBUG mode must behave identically to normal mode except for the red banner and hardcoded mnemonic. No other DEBUG branches without explicit owner approval. Policy documented in README.
This commit is contained in:
@@ -287,11 +287,6 @@ async function init() {
|
||||
|
||||
await loadState();
|
||||
|
||||
// In DEBUG mode, skip the lock screen (no encryption yet)
|
||||
if (DEBUG && state.hasWallet) {
|
||||
state.locked = false;
|
||||
}
|
||||
|
||||
if (!state.hasWallet) {
|
||||
showView("welcome");
|
||||
} else if (state.locked) {
|
||||
|
||||
Reference in New Issue
Block a user