Skip to content
This repository has been archived by the owner on Feb 9, 2018. It is now read-only.

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

Closed
RcrdBrt opened this issue Feb 7, 2017 · 4 comments
Closed

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

RcrdBrt opened this issue Feb 7, 2017 · 4 comments

Comments

@RcrdBrt
Copy link

RcrdBrt commented Feb 7, 2017

  • 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.

@vickychijwani
Copy link
Owner

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!

@vickychijwani vickychijwani added this to Bugs in Up next Feb 7, 2017
@vickychijwani vickychijwani changed the title Unable to login Unable to login if Ghost admin is at /blog/ghost Feb 7, 2017
@vickychijwani
Copy link
Owner

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.

@RcrdBrt
Copy link
Author

RcrdBrt commented Feb 7, 2017

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.

vickychijwani added a commit that referenced this issue Feb 7, 2017
vickychijwani added a commit that referenced this issue Feb 7, 2017
vickychijwani added a commit that referenced this issue Feb 8, 2017
vickychijwani added a commit that referenced this issue Feb 8, 2017
@vickychijwani
Copy link
Owner

vickychijwani commented Feb 8, 2017

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.

@vickychijwani vickychijwani removed this from Bugs in Up next Feb 8, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants