Skip to content

Warn users when authenticating with server which does not require authentication #66

Description

@TOFarmer

Summary

The SALClient should warn users if they attempt to authenticate with a server which does not require authentication.

Steps to reproduce

sc = SALClient(host)
sc.authenticate()

when sc.auth_required is False

What is the current bug behavior?

Nothing

What is the expected correct behavior?

UserWarning('Host does not require authentication. No authentication attempted.')

Possible fixes

Add warning!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugIssues that report incorrect or undesirable behaviour(s)Priority: 2NORMAL: A task which is not critical and should be addressed when there are no higher priority issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions