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:
|
||||
|
||||
@@ -64,7 +64,7 @@ class ProcessValidations():
|
||||
return self.__logger
|
||||
|
||||
def job(self, args):
|
||||
inbox = Inbox(settings.REDDIT_USER, settings.REDDIT_PASSWD)
|
||||
inbox = Inbox(settings.REDDIT_USER, settings.REDDIT_PASSWORD)
|
||||
|
||||
for msg in inbox:
|
||||
if not msg.was_comment:
|
||||
|
||||
@@ -124,7 +124,7 @@ SLICE = os.path.join(os.path.dirname(os.path.abspath( __file__ )),'Murmur.ice')
|
||||
REDDIT_USER = 'DredditVerification'
|
||||
|
||||
# Password for validatio account
|
||||
REDDIT_PASSWD = ''
|
||||
REDDIT_PASSWORD = ''
|
||||
|
||||
### HR Settings
|
||||
|
||||
|
||||
Reference in New Issue
Block a user