Skip to content

Instantly share code, notes, and snippets.

@bytezen
Created July 29, 2019 15:01
Show Gist options
  • Save bytezen/e9c1552dc628f4c08cf8fd86cf6a53b3 to your computer and use it in GitHub Desktop.
Save bytezen/e9c1552dc628f4c08cf8fd86cf6a53b3 to your computer and use it in GitHub Desktop.

Revisions

  1. bytezen revised this gist Jul 29, 2019. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions ghost_database_add_user.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,7 @@
    _this is from issue discussion on the ghost repository_
    @mcoolidge @reustonium depending on how critical it is (and if you have access to the database backing ghost), you can UPDATE invites SET status='sent' (there is a check that the message has been sent) and then SELECT email,token FROM invites to get the token that would have been included in the url.
    _this is from issue discussion on the ghost repository_ .

    @mcoolidge @reustonium .
    depending on how critical it is (and if you have access to the database backing ghost), you can UPDATE invites SET status='sent' (there is a check that the message has been sent) and then SELECT email,token FROM invites to get the token that would have been included in the url.

    Then you can insert the token into <your-blog-address>/ghost/#/signup/<token>/ where token is the token from the database less the = at the end.

  2. bytezen created this gist Jul 29, 2019.
    6 changes: 6 additions & 0 deletions ghost_database_add_user.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    _this is from issue discussion on the ghost repository_
    @mcoolidge @reustonium depending on how critical it is (and if you have access to the database backing ghost), you can UPDATE invites SET status='sent' (there is a check that the message has been sent) and then SELECT email,token FROM invites to get the token that would have been included in the url.

    Then you can insert the token into <your-blog-address>/ghost/#/signup/<token>/ where token is the token from the database less the = at the end.

    This has worked for me at least.