Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Password Settings not Supported #79 #85

Closed

Conversation

hugosenari
Copy link

@hugosenari hugosenari commented Mar 26, 2017

Add back UserNamePassword
Fix #79

@bluss
Copy link
Member

bluss commented Mar 26, 2017

keyring seems to have changed so that it doesn't have an unencrypted fallback. That's a good thing.

@khurshid-alam
Copy link

@hugosenari How can a plugin developer use this so a user can input password in kupfer plugin settings? Can you please explain?

@hugosenari
Copy link
Author

hugosenari commented Apr 16, 2017

@khurshid-alam this is a version 2 feature, I just added old code back.
For user is a 'login' button at plugin config.
From plugin add something like this:

__kupfer_settings__ = PluginSettings( 
    {
        "key" : "login",
        "label": "Login",
        "type": UserNamePassword,
        "value": None
})

# and use it:
jira_login = __kupfer_settings__['login'] 
jira_login.username
jira_login.password

@khurshid-alam
Copy link

@bluss I tested and it works. Could you please merge this? This is important for plugin developers. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Password Settings not Supported
4 participants