Skip to content

Commit 4b5a557

Browse files
committed
final+1
1 parent 5fa9c50 commit 4b5a557

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,11 +195,13 @@ As a final note, in the "pam_password" scheme the default SSL requirement can be
195195
purposes of testing only!):
196196

197197
```python
198+
from irods.auth.pam_password import ENSURE_SSL_IS_ACTIVE
199+
198200
session = irods.session.iRODSSession(host = "localhost", port = 1247,
199201
user = "alice", password = "test123", zone="tempZone",
200202
authentication_scheme = "pam_password")
201203

202-
session.set_auth_option_for_scheme('pam_password', irods.auth.pam_password.ENSURE_SSL_IS_ACTIVE, False)
204+
session.set_auth_option_for_scheme('pam_password', ENSURE_SSL_IS_ACTIVE, False)
203205

204206
# Do something with the session:
205207
home = session.collections.get('/tempZone/home/alice')

0 commit comments

Comments
 (0)