V0 #1

Closed
RusticMaple wants to merge 105 commits from v0 into main
Showing only changes of commit b6b7d2559d - Show all commits

fix type errors in auth_handler.rs

Maple 2026-03-24 15:20:38 +01:00

View file

@ -146,16 +146,16 @@ impl AuthHandler {
&self,
name: &str,
) -> Result<(PID, String, Box<[u8]>), ErrorCode> {
#[cfg(feature = "guest_login")]
{
if name == GUEST_ACCOUNT.username {
let source_login_data = GUEST_ACCOUNT.get_login_data();
let destination_login_data = self.destination_server_acct.get_login_data();
return Ok((
let ticket = generate_ticket_with_string_user_key(
source_login_data.0,
generate_ticket(source_login_data, destination_login_data),
));
destination_login_data,
);
return Ok((source_login_data.0, ticket.0, ticket.1));
}
}
let Ok(pid) = name.parse() else {