Commit 83d02c57 authored by Timothy Stack's avatar Timothy Stack

Don't refuse console/ssh access when web interface is disabled.

parent ed74a4b3
......@@ -3274,12 +3274,6 @@ class node:
if (argerror):
return argerror
try:
checknologins()
pass
except NoLoginsError, e:
return EmulabResponse(RESPONSE_REFUSED, output=str(e))
if not re.match("^[-\w]*$", str(argdict["node"])):
return EmulabResponse(RESPONSE_BADARGS,
output="Improperly formed node value!")
......@@ -3344,12 +3338,6 @@ class node:
if (argerror1 and argerror2):
return argerror1
try:
checknologins()
pass
except NoLoginsError, e:
return EmulabResponse(RESPONSE_REFUSED, output=str(e))
if (argdict.has_key("node") and
not re.match("^[-\w]*$", str(argdict["node"]))):
return EmulabResponse(RESPONSE_BADARGS,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment