Minor cleanups

This commit is contained in:
Dominic Ferrando
2025-04-24 00:29:10 -04:00
parent 27fc9476fa
commit 73d66560b6
5 changed files with 11 additions and 17 deletions
-4
View File
@@ -16,10 +16,6 @@ var (
)
func IsAdminSessionValid(token string) bool {
if DevMode {
return true
}
AdminMutex.RLock()
session, exists := AdminSessions[token]
AdminMutex.RUnlock()