Skip to content
This repository has been archived by the owner on Aug 20, 2023. It is now read-only.

2-Factor Authentication doesn't work if account does not exist #82

Closed
MikeDev101 opened this issue Nov 28, 2021 · 15 comments
Closed

2-Factor Authentication doesn't work if account does not exist #82

MikeDev101 opened this issue Nov 28, 2021 · 15 comments
Labels
Bug Something isn't working how it should. CloudLink Inquiries related to CloudLink. Server-Side Improvements or fixes to server-side code. URGENT An urgent EMERGENCY.

Comments

@MikeDev101
Copy link
Member

After debugging the issue in #77, we determined the issue of accounts being unable to sign in related to some lack of checks. If an account doesn't exist in the server, and a user tries to authenticate with 2FA, it will throw up a "bool obj not subscriptable" error.

The workaround, for the time being, is creating a dummy account with a NULLED password. Simply state your scratch username (MUST BE VERBATIM, AS IT IS CASE-SENSITIVE) and I will manually add your account until this issue is fixed.

@MikeDev101 MikeDev101 added Bug Something isn't working how it should. CloudLink Inquiries related to CloudLink. URGENT An urgent EMERGENCY. Server-Side Improvements or fixes to server-side code. labels Nov 28, 2021
@meltfrommeltland
Copy link
Contributor

cww2010

@Rix565
Copy link

Rix565 commented Nov 28, 2021

Rix56

@CST1229
Copy link
Member

CST1229 commented Nov 28, 2021

Possible dirty server workaround for the time being: Try-catch the part that errors and then create an account with a nulled password automatically

@CST1229
Copy link
Member

CST1229 commented Nov 28, 2021

Also, CST1229

@meguy7878
Copy link

meguy7878

@MikeDev101
Copy link
Member Author

all added

@ghost
Copy link

ghost commented Nov 29, 2021

bluepig600

@MikeDev101
Copy link
Member Author

bluepig600

already exists

@Voxalice
Copy link
Member

Voxalice commented Dec 4, 2021

Voxalice

@Samq64
Copy link
Contributor

Samq64 commented Dec 4, 2021

samq64

@MikeDev101
Copy link
Member Author

Added

@Samq64
Copy link
Contributor

Samq64 commented Dec 4, 2021

Added

I can log in now, but get an internal server error when reaching the home page.

@MikeDev101
Copy link
Member Author

I can log in now, but get an internal server error when reaching the home page.

As of now, I would wait for the server to be upgraded to the latest build of CloudLink.

@MikeDev101
Copy link
Member Author

closing as gone stale and will be fixed in next build

@Touchcreator
Copy link
Member

Touchcreator

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Something isn't working how it should. CloudLink Inquiries related to CloudLink. Server-Side Improvements or fixes to server-side code. URGENT An urgent EMERGENCY.
Projects
None yet
Development

No branches or pull requests

8 participants