summaryrefslogtreecommitdiffstats
path: root/python/examples/login.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/examples/login.py')
-rw-r--r--python/examples/login.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/examples/login.py b/python/examples/login.py
index cbf6ed6e..37a015f5 100644
--- a/python/examples/login.py
+++ b/python/examples/login.py
@@ -56,7 +56,7 @@ print "ProtocolProfile =", idplogin.protocolProfile
must_authenticate = idplogin.must_authenticate()
print "User must be authenticated =", must_authenticate
-if idplogin.protocolProfile == 1:
+if idplogin.protocolProfile == lasso.loginProtocolProfileBrwsArt:
ret = idplogin.build_artifact_msg(1,
lasso.samlAuthenticationMethodPassword,
"",