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

autofill not working on Virtualizor VPS Control Panel #276

Closed
ghost opened this issue Feb 6, 2019 · 9 comments
Closed

autofill not working on Virtualizor VPS Control Panel #276

ghost opened this issue Feb 6, 2019 · 9 comments
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Feb 6, 2019

Describe the bug: Autofill is not auto filling the auth box in Virtualizor VPS Control Panel

It used to work previously and I suspect a regression been introduced with version 5.2.2.

I cannot provide a login for testing purposes and the Virtualizor demo does not seem suitable for testing.

Platform:

  • Browser: FF | Vivaldi
  • Browser Version: FF 65/66/67 | V 2.2.1388.34 (Chrome/71.0.3578.85)
  • OS W10 1809 b17763.292 amd64
  • WX version 5.2.2
@mymindstorm
Copy link
Member

Authenticator version 5.2.2 didn't change too much in the autofill code. Does the code get put into the right field when you try to use it?

@mymindstorm mymindstorm added bug Something isn't working needinfo labels Feb 7, 2019
@ghost
Copy link
Author

ghost commented Feb 7, 2019

It does not get filled at all but it did in the past even with #164

There is not output/error in the browser console.

I am not aware how the auto-fill field detection works but this is the html code

<input type="password" name="otp" id="otp" class="login_input" data-bcup="attached"

@erotavlasme
Copy link

Hi,
I have the same problem about auto fill with GNU/linux ubuntu mate and firefox developer edition 66 or firefox 65.

@mymindstorm
Copy link
Member

@erotavlas85 with the same website?

@erotavlasme
Copy link

@mymindstorm several private Web sites.

@alfredonodo
Copy link

Hi,
I have the same problem with presearch.org

@mymindstorm
Copy link
Member

@erotavlas85 @alfredonodo can you use inspect element and copy the html for the code input element?

@erotavlasme
Copy link

@mymindstorm for me one site is protonmail.
This is the HTML of 2FA input

<input autocapitalize="off" autocorrect="off" autocomplete="off" class="TwoFA-input ng-empty ng-invalid ng-invalid-required ng-valid-minlength ng-valid-maxlength ng-touched" type="text" ng-minlength="6" ng-maxlength="8" required="" ng-model="twoFactorCode" autofocus="autofocus" id="twoFactorCode" name="twoFactorCode" placeholder-translate-context="Placeholder" placeholder="Two-factor passcode">

@alfredonodo
Copy link

@mymindstorm presearch.org

<div id="2fa-form" class="tab-pane animated flipInX active">
        <form method="POST" action="https://www.presearch.org/2fa/validate">
  <input type="hidden" name="_token" value="YpWqw4NmfvbwU9HO6ufHTMDHfeHJOGT6Rl9MMtKg">
  <input type="hidden" name="2fa_form" value="1">
  <input type="hidden" name="redirect_url" value="">

  
  <div class="form-group text-center">
    Please open your authenticator app and enter the current one-time password below:
  </div>

  <div class="form-group text-center">
    <input type="number" class="form-control" name="totp">
  </div>

  <div class="form-group text-center">
    <button type="submit" class="btn btn-block btn-primary">
      Validate
    </button>
  </div>
</form>

<div class="text-center">
  <a href="#login-form" data-toggle="tab" class="login-form-show">Back To Login Form</a>
</div>
      </div>

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
None yet
Development

No branches or pull requests

3 participants