From c9fb4e1dedf7b7a5874a8698febb50454f4d78e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 25 Jun 2013 19:07:43 +0200 Subject: [PATCH] Also send identity_changed event on passive login (cherry picked from commit 695f3f3) --- octoprint/server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/octoprint/server.py b/octoprint/server.py index 4ede4ed..e038adc 100644 --- a/octoprint/server.py +++ b/octoprint/server.py @@ -655,6 +655,7 @@ def login(): elif "passive" in request.values.keys(): user = current_user if user is not None and not user.is_anonymous(): + identity_changed.send(current_app._get_current_object(), identity=Identity(user.get_id())) return jsonify(user.asDict()) return jsonify(SUCCESS)