diff --git a/templates/user_accounts.html b/templates/user_accounts.html index 16cd08b..14cfe2a 100644 --- a/templates/user_accounts.html +++ b/templates/user_accounts.html @@ -44,11 +44,11 @@ {{ account.username }} {{ account.stream }} - {{ account.streamURL }} + {{ account.streamURL }} ({{ account.maxConnections }}) {{ account.expiaryDate_rendered }} {{ account.password }} - @@ -102,6 +102,7 @@ var password = button.data('password'); var stream = button.data('stream'); var expiryDate = button.data('expiry-date'); + var maxConnections = button.data('max-connections'); spinner.show(); buttonText.hide(); @@ -115,7 +116,8 @@ username: username, password: password, stream: stream, - expiry_date: expiryDate + expiry_date: expiryDate, + max_connections: maxConnections }), success: function(response) { if (response.message === 'Account is valid and updated') {