]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/controllers/saml2.py
import ceph 14.2.5
[ceph.git] / ceph / src / pybind / mgr / dashboard / controllers / saml2.py
index 51bda8e8d62d09e31338b395bdab4e7148a56fb4..f007f691cc5b9f7caea3af9c3d310e404a3e531e 100644 (file)
@@ -13,7 +13,7 @@ try:
 except ImportError:
     python_saml_imported = False
 
-from .. import mgr, logger
+from .. import mgr
 from ..exceptions import UserDoesNotExist
 from ..services.auth import JwtManager
 from ..tools import prepare_url_prefix
@@ -73,7 +73,6 @@ class Saml2(BaseController):
             token = JwtManager.gen_token(username)
             JwtManager.set_user(JwtManager.decode_token(token))
             token = token.decode('utf-8')
-            logger.debug("JWT Token: %s", token)
             raise cherrypy.HTTPRedirect("{}/#/login?access_token={}".format(url_prefix, token))
         else:
             return {