mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-10 00:42:06 +00:00
Implement community authentication 2.0
This system relies on http redirects and signing in to the main website instead of using cross-internet pgsql connections and signing in individually to each website.
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
class CommunityAuthSite(models.Model):
|
||||
name = models.CharField(max_length=100, null=False, blank=False)
|
||||
redirecturl = models.URLField(max_length=200, null=False, blank=False)
|
||||
cryptkey = models.CharField(max_length=100, null=False, blank=False)
|
||||
|
||||
def __unicode__(self):
|
||||
return self.name
|
||||
|
Reference in New Issue
Block a user