mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-05 06:41:13 +02:00
Merge branch 'master' into unstable
This commit is contained in:
commit
04e62e429c
3 files changed
+7
-3
No files matched your search
@@ -90,6 +90,9 @@ class Route(object):
|
||||
|
||||
:returns: Response if you need to auth the user otherwise None
|
||||
"""
|
||||
if not server_config.getboolean("auth", False):
|
||||
return
|
||||
|
||||
user = server_config.get("user", "").strip()
|
||||
password = server_config.get("password", "").strip()
|
||||
|
||||
|
||||
Reference in new issue
Block a user