- Notifications
You must be signed in to change notification settings - Fork668
Open
Description
🐛 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
- os: windows 10
- extension settings: no
- nodejs version: v10.15.3
- vscode version: 1.34.0
- extension version: [0.14.3]