mirror of
https://github.com/simple-login/app.git
synced 2024-09-20 15:05:59 +08:00
bind email handler to 127.0.0.1 instead of 0.0.0.0
This commit is contained in:
parent
98a9e88ce4
commit
d4a6269e43
|
@ -1258,7 +1258,7 @@ class MailHandler:
|
|||
|
||||
|
||||
if __name__ == "__main__":
|
||||
controller = Controller(MailHandler(), hostname="0.0.0.0", port=20381)
|
||||
controller = Controller(MailHandler(), hostname="127.0.0.1", port=20381)
|
||||
|
||||
controller.start()
|
||||
LOG.d("Start mail controller %s %s", controller.hostname, controller.port)
|
||||
|
|
Loading…
Reference in a new issue