mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-16 07:08:55 +00:00
Use email-user and binding in ccnet instead of userprofile in seahub
* Remove UserProfile from profile/models. * Disable ccnet user id binding in profile page
This commit is contained in:
@@ -2,9 +2,9 @@ from django.db import models
|
||||
from django.contrib.auth.models import User
|
||||
|
||||
|
||||
class UserProfile(models.Model):
|
||||
user = models.ForeignKey(User, unique=True)
|
||||
ccnet_user_id = models.CharField(max_length=40, blank=True)
|
||||
#class UserProfile(models.Model):
|
||||
# user = models.ForeignKey(User, unique=True)
|
||||
# ccnet_user_id = models.CharField(max_length=40, blank=True)
|
||||
|
||||
class UserCcnetConf(models.Model):
|
||||
user = models.ForeignKey(User, unique=True)
|
||||
|
Reference in New Issue
Block a user