Implement OTP page in config
a
This commit is contained in:
@@ -766,8 +766,8 @@ namespace confighttp {
|
||||
}
|
||||
|
||||
outputTree.put("otp", nvhttp::request_otp(it->second));
|
||||
outputTree.put("statue", true);
|
||||
outputTree.put("message", "OTP created, effective within 1 minute.");
|
||||
outputTree.put("status", true);
|
||||
outputTree.put("message", "OTP created, effective within 3 minutes.");
|
||||
}
|
||||
catch (std::exception &e) {
|
||||
BOOST_LOG(warning) << "OTP creation failed: "sv << e.what();
|
||||
|
||||
Reference in New Issue
Block a user