fix a bogus error path that primarily trips up hosted mode

This commit is contained in:
bunnie 2021-05-01 01:12:32 +08:00
parent 142d512ffb
commit 20040c5e02

View file

@ -68,7 +68,7 @@ impl XousNames {
match buf.to_original().unwrap() {
api::Return::CID(cid) => Ok(cid),
api::Return::AuthenticateRequest(_) => Err(xous::Error::AccessDenied),
// api::Return::AuthenticateRequest(_) => Err(xous::Error::AccessDenied),
_ => Err(xous::Error::ServerNotFound),
}
}