mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-11-27 17:43:54 +01:00
API Token Fixes (#218)
* split api secret into owner_api secret and node api secrets * update for master, drop requirement for authentication for foreign api when run on same port as owner api * rustfmt * re-trigger build
This commit is contained in:
@@ -137,6 +137,7 @@ where
|
||||
let basic_auth_middleware = Arc::new(BasicAuthMiddleware::new(
|
||||
api_basic_auth,
|
||||
&GRIN_OWNER_BASIC_REALM,
|
||||
Some("/v2/foreign".into()),
|
||||
));
|
||||
router.add_middleware(basic_auth_middleware);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user