authpicker.js 403 B

12345678910111213
  1. jQuery(document).ready(function() {
  2. $('#app-token-login').click(function (e) {
  3. e.preventDefault();
  4. $(this).addClass('hidden');
  5. $('#redirect-link').addClass('hidden');
  6. $('#app-token-login-field').removeClass('hidden');
  7. });
  8. document.getElementById('login-form').addEventListener('submit', function (e) {
  9. e.preventDefault();
  10. document.location.href = e.target.attributes.action.value
  11. })
  12. })