An app to journal, to link memories, photos, locations and combine them to a travel log
0
stars
0
forks
source link
Record Login sessions to restrict currently open sessions and allow users to delete session for old devices #46
Closed
mediafinger closed 4 months ago
Record Login sessions
Enhances security by:
Implementation
A new module
Logins
is included in theApplicationController
.Login
record everytime a user logs in from a new device.Login
record's timestamp will be updated.Login
records of the same user will be deleted after every new login, we keep only the 3 most recently used ones.Login
record invalidates the session - and effectively logs the user out from the other device.Login
record will also be deleted.Chimera HTTP Client
HTTP Client gem used to connect to the Geoapify API to translate an IP address to a location.
Device Detector
Gem to translate
user_agent
strings into human readable information