Sha256: 90d559510671bb182975199e3ac67917fc6ab645ebc0a6f998f9ba00c9982ee7

Contents?: true

Size: 310 Bytes

Versions: 2

Compression:

Stored size: 310 Bytes

Contents

function personaLogin() {
  navigator.id.get(function(assertion) {
    if (assertion) {
      $('#persona_form input[name=assertion]').val(assertion);
      $('#persona_form').submit();
    } else {
      window.location = "<%= OpenConferenceWare::Engine.routes.url_helpers.auth_failure_path %>"
    }
  });
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
open_conference_ware-1.0.0.pre4 app/assets/javascripts/open_conference_ware/persona.js.erb
open_conference_ware-1.0.0.pre3 app/assets/javascripts/open_conference_ware/persona.js.erb