hodooor / Hodoor

Server side for Hodoor - Casual attendance system
GNU General Public License v3.0
8 stars 6 forks source link

Two Session For One User #140

Open OndrejVicar opened 5 years ago

OndrejVicar commented 5 years ago

It is somehow possible to start two sessions at the same for one user. Dunno how.

image

The problem can be solved by removing both sessions - swipes don't need to be deleted.

In django shell:

from attendance.models import Session
Session.objects.get(id=12947).delete()
OndrejVicar commented 3 years ago

Happened again

image

OndrejVicar commented 3 years ago

Problematic Swipes and Sessions:

image image

OndrejVicar commented 3 years ago

Problematic Sessions were deleted

from attendance.models import Session
Session.objects.get(id=18318).delete()
Session.objects.get(id=18319).delete()
Session.objects.get(id=18320).delete()
Session.objects.get(id=18331).delete()