mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-12 22:50:13 -06:00
Feature/cleanup (#837)
* Style guide fixes * Various cleanups * Update SGCT
This commit is contained in:
@@ -68,7 +68,8 @@ namespace {
|
||||
"Ip addresses or domains that should always be allowed access to this interface"
|
||||
};
|
||||
|
||||
constexpr openspace::properties::Property::PropertyInfo RequirePasswordAddressesInfo = {
|
||||
constexpr openspace::properties::Property::PropertyInfo
|
||||
RequirePasswordAddressesInfo = {
|
||||
"RequirePasswordAddresses",
|
||||
"Require Password Addresses",
|
||||
"Ip addresses or domains that should be allowed access if they provide a password"
|
||||
@@ -97,7 +98,7 @@ std::unique_ptr<ServerInterface> ServerInterface::createFromDictionary(
|
||||
return si;
|
||||
}
|
||||
|
||||
ServerInterface::ServerInterface(const ghoul::Dictionary& config)
|
||||
ServerInterface::ServerInterface(const ghoul::Dictionary& config)
|
||||
: properties::PropertyOwner({ "", "", "" })
|
||||
, _type(TypeInfo)
|
||||
, _port(PortInfo, 0)
|
||||
@@ -129,7 +130,7 @@ ServerInterface::ServerInterface(const ghoul::Dictionary& config)
|
||||
list.set(v);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
readList(AllowAddressesInfo.identifier, _allowAddresses);
|
||||
readList(DenyAddressesInfo.identifier, _denyAddresses);
|
||||
readList(RequirePasswordAddressesInfo.identifier, _requirePasswordAddresses);
|
||||
|
||||
Reference in New Issue
Block a user