Commit 731c1130 authored by Andreas N. Digernes's avatar Andreas N. Digernes
Browse files

Merge branch 'backend/refactor/conventions' into 'master'

If Statement Convention

See merge request !38
parents a6c88707 ad12d850
Pipeline #129177 passed with stages
in 2 minutes and 46 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