Switch the seat count for the superuser API to the real value from the license.

This commit is contained in:
Jake Moshenko 2014-05-28 13:54:02 -04:00
parent 33b43b75c0
commit decefbf168

View file

@ -54,7 +54,7 @@ class SeatUsage(ApiResource):
if SuperUserPermission().can():
return {
'count': model.get_active_user_count(),
'allowed': app.config.get('LICENSE_SEAT_COUNT', 0)
'allowed': app.config.get('LICENSE_USER_LIMIT', 0)
}
abort(403)