Skip to content

Disable plugin after declining first time configuration#50

Merged
Angelelz merged 2 commits intoAngelelz:masterfrom
lazou:fix/disable-plugin
Nov 15, 2020
Merged

Disable plugin after declining first time configuration#50
Angelelz merged 2 commits intoAngelelz:masterfrom
lazou:fix/disable-plugin

Conversation

@lazou
Copy link
Copy Markdown
Contributor

@lazou lazou commented Oct 23, 2020

Hi @Angelelz,

this PR will finally disable the plugin in case the user declines the first time configuration messagebox.
Currently, the plugin will always ask the user to configure windows hello after opening the database, althougth the user declined this choice in the past. The only way to prevent the initialization dialog is to go to the options page and disable the plugin integration with the checkbox manually.

My first commit contains the quick and dirty fix. But since I copied some code I tried to refactor the method a little bit to increase readability in the second commit. Let me know if you have questions about it 😃

@lazou lazou changed the title Fix/disable plugin Disable plugin after declining first time configuration Oct 23, 2020
Copy link
Copy Markdown
Owner

@Angelelz Angelelz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking the time to improve the plugin. Great add!

@Angelelz Angelelz merged commit 89ead76 into Angelelz:master Nov 15, 2020
@lazou lazou deleted the fix/disable-plugin branch November 18, 2020 22:12
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.

2 participants