-
Notifications
You must be signed in to change notification settings - Fork 635
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
Remove chrome autofilling detection #7050
Remove chrome autofilling detection #7050
Conversation
Codecov Report
|
Before merging, let's test to make sure we haven't introduced a regression on #2673 ref: #3352 @mrpau-dev would you mind testing the new flows using a saved username and password in Chrome? |
Hi @jredrejo I tried your branch in a fresh* Kolibri pipenv and got some errors in Chrome console.
I auto-saved the account when Chrome asked, tried the import feature, logged-out, then did the login again. Some log files: My env:
|
Just an FYI, I tested on
|
Hi @cpauya for the errors you see in the console, I don't know the reason for them but I am almost sure they are not related to this change. It seems a problem in the backend with the session. |
@indirectlylit I have checked the password placeholder does not appear. |
I ran I've been using I ran Then when Kolibri ran, I did a Quick setup, and when I logoff I am presented with a login screen asking for a username with pic like the one in my previous post. Radina mentioned about
I removed the dashes in the UUID, then went to http://localhost:8000/app/api/initialize/(app_key_here) - but I got a With @radinamatic's setup it's working. So with this: I may have missed something, a step, or a setting perhaps? |
Yes of course. Presumably it would reference the password field instead. Sorry @cpauya I don't have much guidance - perhaps post in slack? In my testing, I can no longer reproduce the issue described in #2673 and addressed in #3352. I'm also noticing that the color has changed from yellow to blue, which would prevent the Here are some references for what the original issue was and how other people addressed it in case this re-surfaces in another form:
here's the current behavior in Kolibri that I see: |
Summary
After the latest changes in the Sign In page, an ugly message appears in the browser console:
![image](https://user-images.githubusercontent.com/1008178/84527837-eac94e80-acde-11ea-8596-4c26fa7f4a03.png)
TypeError: this$1.$refs.username is undefined
It was caused by a logic executed after the component is mounted to detect if Chrome had autofilled the password.
However:
This PR removes all the associated logic to this brittle detection.
Reviewer guidance
Can we assume removing this detection?
Contributor Checklist
PR process:
Testing:
Reviewer Checklist
yarn
andpip
)