Remove m.login.token from advertised flows.

pull/391/head
Erik Johnston 2015-11-19 16:16:49 +00:00
parent f9d9bd6aa0
commit 37de8a7f4a
1 changed files with 2 additions and 1 deletions

View File

@ -58,9 +58,10 @@ class LoginRestServlet(ClientV1RestServlet):
flows.append({"type": LoginRestServlet.SAML2_TYPE})
if self.cas_enabled:
flows.append({"type": LoginRestServlet.CAS_TYPE})
flows.append({"type": LoginRestServlet.TOKEN_TYPE})
if self.password_enabled:
flows.append({"type": LoginRestServlet.PASS_TYPE})
flows.append({"type": LoginRestServlet.TOKEN_TYPE})
return (200, {"flows": flows})
def on_OPTIONS(self, request):