Skip to content

Commit dc9d539

Browse files
committed
Made new users active
1 parent 0b19734 commit dc9d539

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,9 @@ FIREBASE_AUTH = {
2727
'FIREBASE_ACCOUNT_KEY_FILE': 'path_to_your_credentials.json',
2828
}
2929
```
30+
31+
## Publishing
32+
33+
`python setup.py sdist`
34+
35+
`twine upload dist/*`

rest_framework_firebase/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
22

33
__title__ = 'djangorestframework-firebase-auth'
4-
__version__ = '0.1.2'
4+
__version__ = '0.1.3'
55
__author__ = 'Wesley Lima'
66
__license__ = 'MIT'
77
__copyright__ = 'Copyright 2018 Fan Retreat, Inc.'

rest_framework_firebase/authentication.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ def authenticate_credentials(self, payload):
7676
'email':user.email
7777
}
7878
u = User(**fields)
79+
u.is_active = True
7980
u.save()
8081
return u
8182

0 commit comments

Comments
 (0)