Switch the seat count for the superuser API to the real value from the license.
This commit is contained in:
parent
33b43b75c0
commit
decefbf168
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ class SeatUsage(ApiResource):
|
||||||
if SuperUserPermission().can():
|
if SuperUserPermission().can():
|
||||||
return {
|
return {
|
||||||
'count': model.get_active_user_count(),
|
'count': model.get_active_user_count(),
|
||||||
'allowed': app.config.get('LICENSE_SEAT_COUNT', 0)
|
'allowed': app.config.get('LICENSE_USER_LIMIT', 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
abort(403)
|
abort(403)
|
||||||
|
|
Reference in a new issue