Skip to content

Commit 4a7aa72

Browse files
committed
review changes
1 parent 8269994 commit 4a7aa72

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ Creating PAM or Native Credentials File (.irodsA)
166166
-------------------------------------------------
167167

168168
```Two free functions exist for creating encoded authentication files.
169-
irods.client_init.write_credentials_with_native_password
170-
irods.client_init.write_credentials_with_pam_password
169+
irods.client_init.write_native_credentials_to_secrets_file
170+
irods.client_init.write_pam_credentials_to_secrets_file
171171
```
172172

173173
Each takes a cleartext password and creates an appropriately encoded version of it

irods/client_init.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ def write_pam_credentials_to_secrets_file( password ,**kw):
2525

2626
if __name__ == '__main__':
2727
vector = {
28-
'pam': write_credentials_with_pam_password,
29-
'native': write_credentials_with_native_password,
28+
'pam_password': write_pam_credentials_to_secrets_file,
29+
'native': write_native_credentials_to_secrets_file
3030
}
3131

3232
if sys.argv[1] in vector:

0 commit comments

Comments
 (0)