Also send identity_changed event on passive login
This commit is contained in:
1 parent
ce9557798b
commit
695f3f391c
1 file changed
+1
@@ -720,6 +720,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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user