vickychijwani/quill

Unable to login if Ghost admin is at /blog/ghost

RcrdBrt opened this issue · 4 comments

  • Ghost version: 0.11.4
  • App version: 1.5.3

I can't login into my blog anymore since the latest updates. My ghost installation is under example.com/blog/ if it helps. I noticed that the app had troubles handling that, redirecting me to the root URL sometimes instead. So this detail might help.
The app is just showing "unexpected error during sign in. Please try again" toast.
I already tried clearing the cache or reinstalling, still no luck.

Hi @RcrdBrt, your detail about the blog being under example.com/blog/ seems spot-on - I don't test with that kind of setup. I should probably add a unit test for this case.

I'll fix this. Thanks for reporting!

Would you mind sharing your blog URL for testing purposes? The only thing I will do is try to login with incorrect username/password a few times, of course.

Sure. Https://rcrdbrt.com/blog
If it's too much of a big deal or there's a lot of code refactoring involved tell me, I could just add a subdomain, in that case I think it will work. Maybe no one else uses a setup like my current one.

This is fixed (not released to Play Store yet). There are also now unit tests in place to check for various types of blog URLs (blog.example.com, example.com/blog, https://my-blog.com, etc), so hopefully this kind of issue won't happen again.