From 39670ac84ee4666400577b974e6ed0443aecb534 Mon Sep 17 00:00:00 2001 From: Matt Wright Date: Thu, 19 Jul 2012 17:39:55 -0400 Subject: [PATCH] Fix state a bit --- flask_security/core.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flask_security/core.py b/flask_security/core.py index 6e83d90..fbef5fc 100644 --- a/flask_security/core.py +++ b/flask_security/core.py @@ -244,6 +244,8 @@ class Security(object): app.extensions['security'] = state + return state + def _get_state(self, app, datastore): assert app is not None assert datastore is not None