summaryrefslogtreecommitdiff
path: root/controllers
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2018-12-08 12:23:08 -0800
committerAaron Parecki <aaron@parecki.com>2018-12-08 12:23:08 -0800
commit89644bc435419017c56348c63403b07a0ba6fc6f (patch)
tree0f75df085dfe2022a1e7cf9f9b78a24598f6bd40 /controllers
parenteca06e69ad238444b51d9f3fcfd7e6b3d1e76e3d (diff)
reset micropub config data
Diffstat (limited to 'controllers')
-rw-r--r--controllers/auth.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/controllers/auth.php b/controllers/auth.php
index d812956..4318486 100644
--- a/controllers/auth.php
+++ b/controllers/auth.php
@@ -291,6 +291,8 @@ $app->post('/auth/reset', function() use($app) {
$user->micropub_media_endpoint = '';
$user->micropub_scope = '';
$user->micropub_access_token = '';
+ $user->syndication_targets = '';
+ $user->supported_post_types = '';
$user->save();
unset($_SESSION['auth']);