mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-05 10:59:47 -05:00
Merge branch 'master' into feature/websocketnavigation
This merge changes the default websocket port from 8001 to 4862.
This commit is contained in:
@@ -31,7 +31,7 @@ namespace openspace {
|
||||
|
||||
class AuthorizationTopic : public Topic {
|
||||
public:
|
||||
AuthorizationTopic() = default;
|
||||
AuthorizationTopic(std::string password);
|
||||
|
||||
void handleJson(const nlohmann::json& json) override;
|
||||
bool isDone() const override;
|
||||
@@ -39,6 +39,7 @@ public:
|
||||
private:
|
||||
bool authorize(const std::string& key);
|
||||
|
||||
std::string _password;
|
||||
bool _isAuthenticated = false;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user