We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 933aad6 commit 6a997f5Copy full SHA for 6a997f5
1 file changed
irods/session.py
@@ -261,6 +261,8 @@ def _configure_account(self, **kwargs):
261
missing_file_path = []
262
error_args = []
263
pw = creds['password'] = self.get_irods_password(session_ = self, file_path_if_not_found = missing_file_path, **creds)
264
+ # For native authentication, a missing password should be flagged as an error for non-anonymous logins.
265
+ # However, the pam_password case has its own internal checks.
266
if auth_scheme.lower() not in PAM_AUTH_SCHEMES:
267
if not pw and creds.get('irods_user_name') != 'anonymous':
268
if missing_file_path:
0 commit comments