HitomaruKonpaku / SadPanda

Chrome extension to access ExHentai
https://exhentai.org/
190 stars 72 forks source link

Shows "Auth error" and redirects to e-hentai forum login page. #18

Open R3D4CTED opened 3 years ago

R3D4CTED commented 3 years ago

I installed the addon, and opened exhentai to be greeted with the sad panda(after months of staring at blank page). I tried logging in with my credentials, but got a quick red "Auth Error" flash at the bottom right and it redirected me to the e-hentai forums page. It also logs me out of e-hentai for some reason. Any fix for this?

R3D4CTED commented 3 years ago

Changed a bit around to also the content stack trace and captcha is the issue. Please add captcha functionality also.

R3D4CTED commented 3 years ago

Captcha is indeed the reason it's failing. I changed the error report to also include the entire error message. Just change:

sendResponse({
      error: {
        message: 'Authentication error!',
        redirect: 'https://forums.e-hentai.org/index.php?act=Login&CODE=01'
      }

to

sendResponse({
      error: {
        message: 'Authentication error. Detailed Trace:'+content
      }

in background.js. This will display the error in the red box itself. It says "captcha error" like in e-hentai. Please fix.

Mikusho commented 2 years ago

same issue here