statamic / spock

Automatically perform git commits, pushes, and other cli actions when Statamic content changes
95 stars 16 forks source link

If triggered by an unauthenticated user, an error is thrown #15

Closed jasonvarga closed 6 years ago

jasonvarga commented 6 years ago

The commit message contains the current user's username. If they're logged out, there's no username to get. This could happen when using front-end forms.

We should change username to "unauthenticated user" or similar.

bgarrant commented 6 years ago

Front End forms work great when logged in, so we just need this little tweak for non-logged in use and we should be all set

jasonvarga commented 6 years ago

Fixed in 2.0.1