Replaced base64 loading of images with blob, small fixes

This commit is contained in:
2022-09-04 00:11:11 +02:00
parent 95f921554b
commit d4ac3db189
7 changed files with 23 additions and 54 deletions

View File

@@ -57,7 +57,7 @@ namespace api {
std::string code = create_totp_qrcode(user, b32_secret);
cbk(dto::Responses::get_tfa_setup_res(b32_secret, code));
}
} catch (const std::exception& e) {
} catch (const std::exception&) {
cbk(dto::Responses::get_badreq_res("Validation error"));
}
}