Add additional columns to aufit_login for session tokens. fixed requireAuth for loading of some pages as requireauth was threating a valid session as not logged in.

This commit is contained in:
2025-10-28 22:22:17 +00:00
parent e1fa6c502e
commit aec8022439
5 changed files with 78 additions and 22 deletions

View File

@@ -1,8 +1,9 @@
package sessionkeys
//ToDo: Is this just putting in "user_id" rather than the users ID?
const (
UserID = "user_id"
Username = "username"
IsAdmin = "is_admin"
LastActivity = "last_activity"
Flash = "flash"
)