From 8c2cab9bdd51dabefe4d7c2c92ecdc5f06ef0613 Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Tue, 14 Feb 2017 21:03:39 -0800 Subject: add reset login option --- views/settings.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'views/settings.php') diff --git a/views/settings.php b/views/settings.php index 23a1b71..537418c 100644 --- a/views/settings.php +++ b/views/settings.php @@ -24,6 +24,14 @@ access token user->micropub_access_token ?> + + + + + + Clicking this button will erase the access token Quill has stored for you, forget all cached endpoints, and sign you out. If you sign back in, you will start over and see the debugging screens and scope options again. + + @@ -110,5 +118,11 @@ $(function(){ }); }); + $("#reset-login").click(function(){ + $.post("/auth/reset", function(){ + window.location = "/"; + }); + }); + }); -- cgit v1.2.3