mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-02 15:55:08 +03:00
Ensured redirect for /billing route when not signed in
no issue Fixes a bug where the billing iframe would show a blank page when called directly and user is not logged in. This commit ensures to that we have a valid authenticated session and redirects to the signin page if not.
This commit is contained in:
parent
9660f076db
commit
0ed59d730d
@ -1,7 +1,7 @@
|
||||
import Route from '@ember/routing/route';
|
||||
import AuthenticatedRoute from 'ghost-admin/routes/authenticated';
|
||||
import {inject as service} from '@ember/service';
|
||||
|
||||
export default Route.extend({
|
||||
export default AuthenticatedRoute.extend({
|
||||
billing: service(),
|
||||
|
||||
queryParams: {
|
||||
|
Loading…
Reference in New Issue
Block a user