Skip to content

Commit

Permalink
[jwt] Fix DummyCustomAuthentication class comments (#2461)
Browse files Browse the repository at this point in the history
  • Loading branch information
wing2fly committed Aug 20, 2021
1 parent 589358d commit 2faf750
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion desktop/core/src/desktop/auth/api_authentications.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,10 @@ def authenticate(self, request):
return (user, None)


# for local dev env doesn't have authentication service
class DummyCustomAuthentication(authentication.BaseAuthentication):
"""
Only for local development environment does not have an external authentication service
"""

def authenticate(self, request):
LOG.debug('DummyCustomAuthentication: %s' % request.path)
Expand Down

0 comments on commit 2faf750

Please sign in to comment.