This commit is contained in:
@@ -246,7 +246,8 @@ namespace AyaNova.Api.Controllers
|
||||
name = u.Name,
|
||||
usertype = u.UserType,
|
||||
roles = ((int)u.Roles).ToString(),
|
||||
dlt = DownloadToken
|
||||
dlt = DownloadToken,
|
||||
tfa = u.TwoFactorEnabled
|
||||
}));
|
||||
}
|
||||
}
|
||||
@@ -462,7 +463,7 @@ namespace AyaNova.Api.Controllers
|
||||
return Ok(ApiOkResponse.Response(new
|
||||
{
|
||||
s = u.HotpSecret,
|
||||
qrCode = qrCodeImageAsBase64
|
||||
qr = qrCodeImageAsBase64
|
||||
}));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user