You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When user only register in the leetcode-cn, vs code plug-in of leetcode's default endpoint is leetc-de-com, and just return "invalid password?"
To Reproduce
install the leetcode plug-in
register a new account only in leetcode-cn: https://leetcode-cn.com
Click the Sign in to LeetCode in vs code
Expected behavior
Solution 1: Should return clearly information to user for current login endpoint and not register
message
Solution 2: Before user login into the leetcode, should let user choose the endpoint first
Extension Output
[ERROR] You are not login yet?
login: login: pass: - Signing in leetcode.com
[ERROR] invalid password?
Your Environment
os: windows 10
extension settings: no
nodejs version: v10.15.3
vscode version: 1.34.0
extension version: [0.14.3]
The text was updated successfully, but these errors were encountered:
lujiangping-synyi
changed the title
If I only register the account in leetcode-cn, and will login failed when login in vs code
Add endpoint options before sign in or move the Switch Endpoint before the Sign In/Out in Details
May 29, 2019
I think it's hard to achieve because as of the extension, it's impossible to know whether the login failure is caused by wrong password or wrong endpoint.
This is a good suggestion. I'll think about it later.
jdneo
changed the title
Add endpoint options before sign in or move the Switch Endpoint before the Sign In/Out in Details
Prompt the users to select endpoint before sign in
May 29, 2019
🐛 Bug Report
When user only register in the leetcode-cn, vs code plug-in of leetcode's default endpoint is leetc-de-com, and just return "invalid password?"
To Reproduce
install the leetcode plug-in
register a new account only in leetcode-cn: https://leetcode-cn.com
Click the Sign in to LeetCode in vs code
Expected behavior
Solution 1: Should return clearly information to user for current login endpoint and not register
message
Solution 2: Before user login into the leetcode, should let user choose the endpoint first
Extension Output
[ERROR] You are not login yet?
login: login: pass: - Signing in leetcode.com
[ERROR] invalid password?
Your Environment
The text was updated successfully, but these errors were encountered: