Loading aai/schema/mutation.py +3 −1 Original line number Diff line number Diff line Loading @@ -25,7 +25,9 @@ class LoginMutation(graphene.Mutation): username: str, password: str, ) -> graphene.Mutation: user: User = authenticate(username=username, password=password) user: User = authenticate( username=username, password=password, request=info.context ) login(info.context, user) logger.info(log_user_msg(info.context, user) + "successful login") # TODO: implement attempts limiter Loading Loading
aai/schema/mutation.py +3 −1 Original line number Diff line number Diff line Loading @@ -25,7 +25,9 @@ class LoginMutation(graphene.Mutation): username: str, password: str, ) -> graphene.Mutation: user: User = authenticate(username=username, password=password) user: User = authenticate( username=username, password=password, request=info.context ) login(info.context, user) logger.info(log_user_msg(info.context, user) + "successful login") # TODO: implement attempts limiter Loading