Commit ae185ce5 authored by Daniel W Bond's avatar Daniel W Bond

use set_password method for proper password hashing

parent 2ddff238
......@@ -104,7 +104,7 @@ def create_user(tree):
user.email = email_str
# Password is a required User object field, though doesn't matter for our
# purposes because all user auth is handled through CAS, not Django's login.
user.password = 'cas_used_instead'
user.set_password('cas_used_instead')
user.save()
print("Added user's email, %s." % email_str)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment