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

Added authentication when pressing the Share QR, edit and delete button #277

Merged
merged 5 commits into from
Oct 6, 2023

Conversation

ShivamHP
Copy link
Contributor

@ShivamHP ShivamHP commented Oct 5, 2023

Description

Added authentication when pressing the Share QR, edit and delete button in CodeWidget
Resolves #192

Used the requireAuthentication() function in utils/auth_util.dart to perform authentication

Type of Change

Enhances security

  • 🖼️ New icon
  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

- Used the requestAuthentication function in utils/auth_util.dart to perform the authentication
@CLAassistant
Copy link

CLAassistant commented Oct 5, 2023

CLA assistant check
All committers have signed the CLA.

lib/ui/lifecycle_event_handler.dart Outdated Show resolved Hide resolved
lib/ui/code_widget.dart Outdated Show resolved Hide resolved
lib/ui/code_widget.dart Outdated Show resolved Hide resolved
lib/ui/code_widget.dart Outdated Show resolved Hide resolved
"minimizeAppOnCopy": "Minimize app on copy",
"editCodeAuthMessage": "Authenticate to edit code",
"deleteCodeAuthMessage": "Authenticate to delete code",
"showQRAuthMessage": "Authenticate to show QR"
Copy link
Member

Choose a reason for hiding this comment

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

QR code

Copy link
Member

Choose a reason for hiding this comment

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

LGTM apart from this tiny thing. Will merge once this is fixed :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Cool I have fixed it 🤝

lib/ui/code_widget.dart Outdated Show resolved Hide resolved
@vishnukvmd vishnukvmd merged commit ea1827d into ente-io:main Oct 6, 2023
@vishnukvmd
Copy link
Member

Thanks for the contribution @ShivamHP! ❤️

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.

Confirm before viewing QR code of an entry
3 participants