Add handle to auth response.
This commit is contained in:
parent
2c6fd43aa6
commit
64c9d71941
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user