swarm-controller: stop minting the per-hive matrix sender account and token nothing reads
This commit is contained in:
parent
cb5fb3c730
commit
c66832febf
1 changed files with 40 additions and 556 deletions
|
|
@ -47,8 +47,7 @@ pub fn agent_token_path(agent: &str) -> Result<String, Error> {
|
|||
/// basic-auth header that token travels in.
|
||||
///
|
||||
/// The `hive-` prefix keeps the account reading as a hive's rather than an
|
||||
/// agent's, as [`crate::matrix::hive_localpart`] does on the homeserver.
|
||||
/// `swarm-controller` refuses a new agent named with this prefix, and tells an
|
||||
/// agent's. `swarm-controller` refuses a new agent named with this prefix, and tells an
|
||||
/// older one apart from the hive's account by the account's email.
|
||||
#[must_use]
|
||||
pub fn hive_login(hive: &str) -> String {
|
||||
|
|
|
|||
Loading…
Reference in a new issue