Mercurial > prosody-modules
view mod_jsxc/templates/template.js @ 5908:dcea4b4c415d
Tweaking documentation to clarify that Oauth2 can be used for VirtualHosts and Component
installations.
| author | Ben Smith <bens@effortlessis.com> |
|---|---|
| date | Tue, 14 May 2024 07:31:34 -0700 |
| parents | 4bdfd83e091f |
| children |
line wrap: on
line source
$(function() { let jsxc = new JSXC({ loadConnectionOptions: function(username, password) { return Promise.resolve(%s); } }); let formElement = $('#jsxc_login_form'); let usernameElement = $('#jsxc_username'); let passwordElement = $('#jsxc_password'); jsxc.watchForm(formElement, usernameElement, passwordElement); });
