frontend: add username login
This commit is contained in:
1 parent
8e6e5ea903
commit
79f511c837
4 files changed
+17
-9
No files matched your search
@@ -121,7 +121,7 @@ class CardData(BaseData):
|
||||
result = await self.execute(sql)
|
||||
if result is None:
|
||||
self.logger.warn(f"Failed to update last login time for {access_code}")
|
||||
|
||||
|
||||
def to_access_code(self, luid: str) -> str:
|
||||
"""
|
||||
Given a felica cards internal 16 hex character luid, convert it to a 0-padded 20 digit access code as a string
|
||||
|
||||
Reference in new issue
Block a user