Skip to content

Commit

Permalink
Change bootstrapped user to "admin" (#1413)
Browse files Browse the repository at this point in the history
  • Loading branch information
fantix authored Nov 27, 2024
1 parent adc523c commit c9104a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/portable/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ pub struct Create {

/// Default user name (created during initialization and saved in
/// credentials file).
#[arg(long, default_value = "edgedb")]
#[arg(long, default_value = "admin")]
pub default_user: String,

/// The default branch name. This defaults to 'main' on EdgeDB >=5.x; otherwise
Expand Down
2 changes: 1 addition & 1 deletion src/portable/project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ fn do_init(
installation: Some(inst),
port,
};
create::bootstrap(&paths, &info, "edgedb", database)?;
create::bootstrap(&paths, &info, "admin", database)?;
match create::create_service(&info) {
Ok(()) => {}
Err(e) => {
Expand Down

0 comments on commit c9104a5

Please sign in to comment.