Skip to content
This repository has been archived by the owner on Mar 31, 2020. It is now read-only.

Commit

Permalink
0.0.6 V
Browse files Browse the repository at this point in the history
  • Loading branch information
hakancelikdev committed Mar 29, 2019
1 parent 081d7d8 commit fbfcaba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -2,7 +2,7 @@

setup(
name="steemconnect_auth",
version='0.0.4',
version='0.0.6',
description='A django application to login with steemconnect.',
long_description=open('README.md').read(),
long_description_content_type="text/markdown",
Expand Down
1 change: 1 addition & 0 deletions steemconnect_auth/auth/steemconnect.py
Expand Up @@ -8,6 +8,7 @@
class SteemConnectBackend:

def authenticate(self, request, username=None, password=None):
username = username.lower()
if requests.get(f"https://steemit.com/@{username}").status_code != 200:
raise Http404
user_model = get_user_model()
Expand Down

0 comments on commit fbfcaba

Please sign in to comment.