Implement Fitbit and Google Fit disconnect handlers.
authorFlorian Forster <ff@octo.it>
Tue, 30 Jan 2018 08:44:35 +0000 (09:44 +0100)
committerFlorian Forster <ff@octo.it>
Tue, 30 Jan 2018 08:45:34 +0000 (09:45 +0100)
commit85a81c5e601b14166dfa0bd9633ba609b1b3ac3d
tree3217997fbd12991910c5044ebe7b51e2737f75f5
parentb5e08b65d712519fde12a8406b3ec7e54ba07c9e
Implement Fitbit and Google Fit disconnect handlers.

These allow users to actively delete their tokens. This change also
includes:

* Rename the "setup" endpoints to "connect".
* Enforce authentication for the "connect" endpoints, even though they
  don't really require it. It's better to handle authentication before
  redirecting users to the OAuth screen.
kraftakt.go
templates/loggedin.html