Skip to content

Commit 475fb24

Browse files
committed
Merge remote-tracking branch 'origin/feat/shared-api-auth' into feat/shared-api-auth
2 parents f288bb9 + 6046206 commit 475fb24

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

dstack/gateway/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ uuid = { workspace = true, features = ["v4"] }
6262
rmp-serde.workspace = true
6363
or-panic.workspace = true
6464
base64.workspace = true
65-
subtle.workspace = true
6665
dstack-api-auth.workspace = true
6766
cached-cell.workspace = true
6867

dstack/kms/src/main_service.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ impl RpcHandler {
266266

267267
fn ensure_admin(&self, token: &str) -> Result<()> {
268268
if !dstack_api_auth::verify_sha256_token(token, &self.state.config.admin_token_hash) {
269-
bail!("Invalid token");
269+
bail!("invalid token");
270270
}
271271
Ok(())
272272
}

0 commit comments

Comments
 (0)