-
-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Description
Describe the Bug
The login page serves a raw JSON file as a response to a login attempt while JavaScript is blocked on the webpage.
This issue serves as a quick answer for others having this problem, but I think it could also be handled better by the backend. Feel free to close this if it is considered invalid.
Steps to Reproduce the Bug
- Install NoScript or disable JavaScript on your browser
- Go to https://viewtube.io
- Press the Sign In button in the top right
- Enter your credentials and press enter
- Be served a raw JSON file as a response.
Expected Behavior
The error is served as a text box on the login page.
Screenshot/Screen recording
Device Info
- Device: Desktop PC
- OS: Arch Linux 6.10.0-arch1-2
- Browser: LibreWolf 123.0-1
- Version: Unknown. Probably 0.16.2 (latest at time of writing)
Additional Context
The exact response from the login page is:
{"message":"Cannot POST /login","error":"Not Found","statusCode":404}Solution for end-users
- Enable JavaScript in your browser settings
- Trust viewtube.io (or whatever instance you are using) in your NoScript configuration.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
