Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

🎨 Added auto-login to private site when viewing site preview in admin #1286

Merged
merged 1 commit into from
Aug 12, 2019

Commits on Aug 8, 2019

  1. 🎨 Added auto-login to private site when viewing site preview in admin

    closes TryGhost/Ghost#10995
    
    - when first loading the site preview, if private mode is enabled submit the login form in the background to get the cookie before loading the iframe
    - refactors post-authentication preloading to ensure it occurs before post-authentication route hooks are called
    - adds `showSuccess` attribute to `<GhTaskButton>` so that when set to `false` it can stay in the running state after "success" to avoid state change flashes whilst waiting for a transition
    kevinansfield committed Aug 8, 2019
    Configuration menu
    Copy the full SHA
    d5efc9e View commit details
    Browse the repository at this point in the history