Client billing code push
This commit is contained in:
10
app/routes/ldap_user.py
Normal file
10
app/routes/ldap_user.py
Normal file
@@ -0,0 +1,10 @@
|
||||
# from flask_login import UserMixin
|
||||
# # --------------------
|
||||
# # LDAP User class (not stored in DB)
|
||||
# # --------------------
|
||||
# class LDAPUser(UserMixin):
|
||||
# """Represents an authenticated LDAP user (kept in session)."""
|
||||
# def __init__(self, dn, username):
|
||||
# self.dn = dn
|
||||
# self.username = username
|
||||
# self.id = username # 🔑 Use username for session id (stable)
|
||||
Reference in New Issue
Block a user