Commit ad12d850 authored by and's avatar and
Browse files

If Statement Convention

parent 1167dfca
Pipeline #129030 passed with stage
in 51 seconds
......@@ -211,7 +211,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