From ee839ce6a30fc9cb1a1e49cffd22239c680106f8 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Sat, 18 Dec 2021 02:12:00 +0100 Subject: [PATCH] fix(auth_plain): Fix post_install hook --- flaschengeist/plugins/auth_plain/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flaschengeist/plugins/auth_plain/__init__.py b/flaschengeist/plugins/auth_plain/__init__.py index a92e5c6..10d72d3 100644 --- a/flaschengeist/plugins/auth_plain/__init__.py +++ b/flaschengeist/plugins/auth_plain/__init__.py @@ -17,7 +17,7 @@ class AuthPlain(AuthPlugin): def install(self): plugins_installed(self.post_install) - def post_install(self): + def post_install(self, **kwargs): if User.query.filter(User.deleted == False).count() == 0: logger.info("Installing admin user") role = Role.query.filter(Role.name == "Superuser").first()