API authentication (/api/login) now uses a seperate API password field.

This commit is contained in:
2010-08-06 13:46:07 +01:00
parent 329bec6bc8
commit 3c0dca0fa3
8 changed files with 183 additions and 10 deletions

View File

@@ -32,14 +32,7 @@ class SSOUser(models.Model):
user = models.ForeignKey(User, unique=True, related_name='profile')
default_service_passwd = models.CharField("Default Service Password", max_length=200, blank=True)
default_service_username = models.CharField("Default Service Username", max_length=200, blank=True)
website = models.CharField("Website URL", max_length=200, blank=True)
aim = models.CharField("AIM", max_length=64, blank=True)
msn = models.CharField("MSN", max_length=200, blank=True)
icq = models.CharField("ICQ", max_length=15, blank=True)
xmpp = models.CharField("XMPP", max_length=200, blank=True)
api_service_password = models.CharField("API Services Password", max_length=200, blank=True)
@property
def _log(self):