When I was using my PAT (Personal Access Token) in the Username field and in Password field as well, the code was pushed successfully.
Is it an Issue or a Hidden feature in Github to use PAT for both Username and Password?
PS: I would love to use this approach for some reasons since I use multiple Github accounts which cannot be added in system config. But worried if it would cost a security measures.
EDIT 1:
When using PAT, the username field is simply ignored. Tested by providing wrong username with right PAT. It worked.
Could someone explain why would someone implement a feature in such a way?