updated comments
This commit is contained in:
6
user.py
6
user.py
@@ -7,7 +7,11 @@ from status import st, Status
|
|||||||
# pylint: disable=no-member
|
# pylint: disable=no-member
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Class describing Person in the database, and via sqlalchemy, connected to the DB as well
|
# Class describing Person in the database and DB via sqlalchemy
|
||||||
|
# id is unique id in DB
|
||||||
|
# dn is ldap distinguised name
|
||||||
|
# any entry in this DB is effectively a record you already authed successfully
|
||||||
|
# so acts as a session marker. If you fail ldap auth, you dont get a row here
|
||||||
################################################################################
|
################################################################################
|
||||||
class PAUser(UserMixin,db.Model):
|
class PAUser(UserMixin,db.Model):
|
||||||
__tablename__ = "pa_user"
|
__tablename__ = "pa_user"
|
||||||
|
|||||||
Reference in New Issue
Block a user