Commit a175f063 authored by and's avatar and
Browse files

Fixed If Not Cond Convention

parent 9c3cde63
Pipeline #128701 passed with stage
in 1 minute and 8 seconds
......@@ -71,7 +71,7 @@ class RememberMe(
serializer_class = RememberMeSerializer
def get(self, request):
if request.user.is_authenticated == False:
if not request.user.is_authenticated:
raise PermissionDenied
return Response({"remember_me": self.rememberme()})
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment