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

Unable to automatically paste email and password in login page. #273

Closed
1 task
theDepart3d opened this issue Jan 3, 2024 · 4 comments
Closed
1 task
Labels
bug Something isn't working
Milestone

Comments

@theDepart3d
Copy link

theDepart3d commented Jan 3, 2024

Version

v5.0.2

Details & Steps to reproduce

Upgraded from v4.2.3 to v5.0.2

I am now unable to automatically fill the password field correctly using the Passbolt Extension.

The passbolt extension fills both the email and password fields although the moment you either hit enter or "Sign in". The email field automatically clears.

I have to either fill the email field automatically or manually enter the email sometimes I have to add it twice.

Untitled.Project.mp4

Expectation

Automatically fill the email and password field and login using enter or pressing "Sign In" as per v4.2.3

Error & Logs

No response

Execution environment

Version: 5.0.2
Environment: production
Install path: /
Debug: true
Cache driver: file
Log channel: daily
Log level:
DB driver: sqlite
PHP version: 8.1.27
Operating system: Linux
interface: apache2handler
Auth guard: web-guard
webauthn user verification: preferred
Trusted proxies: none

Containerization

  • Docker

Additional information

No response

@Bubka
Copy link
Owner

Bubka commented Jan 4, 2024

Hi,
I don't know/use Passbolt. But like other password managers I guess it is possible to remove 2FAuth from your registered sites to register it again. Did you try?

@theDepart3d
Copy link
Author

Hi, I don't know/use Passbolt. But like other password managers I guess it is possible to remove 2FAuth from your registered sites to register it again. Did you try?

I gave it a try and it did not work.
Im going to downgrade back to v4.3.2 and get back to you.

@Bubka
Copy link
Owner

Bubka commented Jan 17, 2024

Got it! Reactivity of the email field is triggered by a change event while the password field watches an input event. I don't know why I changed this, v4.x was using update event in both cases.

This does not affect the behavior of the form when used manually, but it comes to a conflict with passcode injected js which updates these values using javascript as well.

A fix is coming.

@Bubka Bubka added the bug Something isn't working label Jan 17, 2024
@Bubka Bubka added this to the v5.0.3 milestone Jan 17, 2024
@Bubka Bubka closed this as completed in b9abcb3 Jan 19, 2024
@theDepart3d
Copy link
Author

Got it! Reactivity of the email field is triggered by a change event while the password field watches an input event. I don't know why I changed this, v4.x was using update event in both cases.

This does not affect the behavior of the form when used manually, but it comes to a conflict with passcode injected js which updates these values using javascript as well.

A fix is coming.

No harm done, I only have x amount of time to sit with these types of errors as it does not really affect the 2FAuth application itself, Just was a pain having to enter the email every time lol.

You are awesome for figuring this one out :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Released
Development

No branches or pull requests

2 participants