mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Rename Reddit account password variable to REDDIT_PASSWORD so it gets filtered from debug views
This commit is contained in:
@@ -31,7 +31,7 @@ def send_message(application, message_type, note=None):
|
||||
if len(application.user.redditaccount_set.all()) > 0:
|
||||
from reddit.api import Inbox, LoginError
|
||||
try:
|
||||
ib = Inbox(settings.REDDIT_USER, settings.REDDIT_PASSWD)
|
||||
ib = Inbox(settings.REDDIT_USER, settings.REDDIT_PASSWORD)
|
||||
except LoginError:
|
||||
pass
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user