Skip to content

Commit

Permalink
Set allow-implicit-session to false by default.
Browse files Browse the repository at this point in the history
An implicit session and a switch `allow-implicit-session` will be removed in the future.
  • Loading branch information
Mariusz-Trela authored and vogel76 committed Sep 8, 2023
1 parent 2de0bff commit b7bc81a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ const my_entrypoint = async() => {

console.log(`Storage root for testing is: ${STORAGE_ROOT}`);

const args = `--wallet-dir ${STORAGE_ROOT}/.beekeeper --salt avocado`.split(' ');
const args = `--wallet-dir ${STORAGE_ROOT}/.beekeeper --salt avocado --allow-implicit-session true`.split(' ');
const args_allow_implicit_session = `--wallet-dir ${STORAGE_ROOT}/.beekeeper --salt avocado --allow-implicit-session true`.split(' ');
const args_disallow_implicit_session = `--wallet-dir ${STORAGE_ROOT}/.beekeeper --salt avocado --allow-implicit-session false`.split(' ');

Expand Down
2 changes: 1 addition & 1 deletion programs/beekeeper/core/beekeeper_app_init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ void beekeeper_app_init::set_program_options()

("backtrace", bpo::value<std::string>()->default_value( "yes" ), "Whether to print backtrace on SIGSEGV" )

("allow-implicit-session", bpo::value<bool>()->default_value(true),
("allow-implicit-session", bpo::value<bool>()->default_value(false),
"If true a session will be implicitly created at the start. By default is true.")
;
}
Expand Down

0 comments on commit b7bc81a

Please sign in to comment.