Ignore:
Timestamp:
Jan 25, 2013, 6:26:51 PM (13 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, client
Children:
38843de
Parents:
4a9654e
git-author:
Alex Dehnert <adehnert@…> (01/25/13 18:19:10)
git-committer:
Alex Dehnert <adehnert@…> (01/25/13 18:26:51)
Message:

Use UNUSABLE_PASSWORD with SocketAuth?

This fixes "Unknown password hashing algorithm" errors with accounts using
SocketAuth?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • remit/util/SocketAuth.py

    rfe43b8a r39bd19e  
    3535                    return user
    3636            except User.DoesNotExist:
    37                 user = User(username=username, password='SocketAuth')
     37                user = User(username=username)
     38                user.set_unusable_password()
    3839                user.is_staff = False
    3940                user.is_superuser = False
Note: See TracChangeset for help on using the changeset viewer.