Send logged-in user in user_authenticated signal
This commit is contained in:
@@ -189,7 +189,7 @@ def validate_this_token(token, oauth_subclient=None):
|
||||
return None
|
||||
|
||||
g.current_user = UserClass.construct(token, db_user)
|
||||
user_authenticated.send(None)
|
||||
user_authenticated.send(sender=g.current_user)
|
||||
|
||||
return db_user
|
||||
|
||||
|
Reference in New Issue
Block a user