Add handle to auth response.

This commit is contained in:
yukirij 2024-10-13 10:58:07 -07:00
parent 2c6fd43aa6
commit 64c9d71941

View File

@ -261,6 +261,7 @@ pub async fn thread_system(mut app:App, bus:Bus<protocol::QRPacket>)
// Generate authentication token and secret
response.status = STATUS_OK;
response.handle = user.handle.clone();
rng.fill(&mut response.secret).ok();
loop {
rng.fill(&mut response.token).ok();