Force-disable web-based login until it is implemented
This commit is contained in:
parent
37c983ce0b
commit
e94c598e3b
|
@ -57,6 +57,7 @@ class KakaoTalkBridge(Bridge):
|
||||||
|
|
||||||
def prepare_bridge(self) -> None:
|
def prepare_bridge(self) -> None:
|
||||||
super().prepare_bridge()
|
super().prepare_bridge()
|
||||||
|
""" TODO Implement web login
|
||||||
if self.config["appservice.public.enabled"]:
|
if self.config["appservice.public.enabled"]:
|
||||||
secret = self.config["appservice.public.shared_secret"]
|
secret = self.config["appservice.public.shared_secret"]
|
||||||
self.public_website = PublicBridgeWebsite(loop=self.loop, shared_secret=secret)
|
self.public_website = PublicBridgeWebsite(loop=self.loop, shared_secret=secret)
|
||||||
|
@ -65,6 +66,8 @@ class KakaoTalkBridge(Bridge):
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
self.public_website = None
|
self.public_website = None
|
||||||
|
"""
|
||||||
|
self.public_website = None
|
||||||
|
|
||||||
def prepare_stop(self) -> None:
|
def prepare_stop(self) -> None:
|
||||||
self.log.debug("Stopping RPC connection")
|
self.log.debug("Stopping RPC connection")
|
||||||
|
|
|
@ -50,6 +50,7 @@ appservice:
|
||||||
max_size: 10
|
max_size: 10
|
||||||
|
|
||||||
# Public part of web server for out-of-Matrix interaction with the bridge.
|
# Public part of web server for out-of-Matrix interaction with the bridge.
|
||||||
|
# TODO Implement web login
|
||||||
public:
|
public:
|
||||||
# Whether or not the public-facing endpoints should be enabled.
|
# Whether or not the public-facing endpoints should be enabled.
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
Loading…
Reference in New Issue