@@ -57,14 +57,6 @@ LLSavedLoginEntry::LLSavedLoginEntry(const LLSD& entry_data)
|
||||
{
|
||||
throw std::invalid_argument("Missing grid key.");
|
||||
}
|
||||
if (!entry_data.has("macaddress"))
|
||||
{
|
||||
throw std::invalid_argument("Missing MAC address.");
|
||||
}
|
||||
if (!entry_data.has("volumeid"))
|
||||
{
|
||||
throw std::invalid_argument("Missing volume ID.");
|
||||
}
|
||||
if (!entry_data.has("password"))
|
||||
{
|
||||
throw std::invalid_argument("Missing password key.");
|
||||
@@ -88,9 +80,10 @@ LLSavedLoginEntry::LLSavedLoginEntry(const LLSD& entry_data)
|
||||
mEntry = entry_data;
|
||||
}
|
||||
|
||||
LLSavedLoginEntry(const EGridInfo gridinfo, const std::string& firstname,
|
||||
const std::string& lastname, const std::string& password,
|
||||
const std::string& macaddress, const std::string& volumeid)
|
||||
LLSavedLoginEntry::LLSavedLoginEntry(const EGridInfo grid,
|
||||
const std::string& firstname,
|
||||
const std::string& lastname,
|
||||
const std::string& password)
|
||||
{
|
||||
mEntry.clear();
|
||||
mEntry.insert("grid", LLSD(grid));
|
||||
|
||||
Reference in New Issue
Block a user