Compare commits

...
Author SHA1 Message Date
Vishnu Narayanan 9c0cf718b2 feat: limit active sessions per user to 3 2025-03-26 20:48:15 +05:30
+1 -1
View File
@@ -15,7 +15,7 @@ DeviseTokenAuth.setup do |config|
# Sets the max number of concurrent devices per user, which is 10 by default.
# After this limit is reached, the oldest tokens will be removed.
config.max_number_of_devices = 25
config.max_number_of_devices = 3
# Sometimes it's necessary to make several requests to the API at the same
# time. In this case, each request in the batch will need to share the same