diff options
author | Tom Willemse | 2013-06-23 21:13:36 +0200 |
---|---|---|
committer | Tom Willemse | 2013-06-23 21:13:36 +0200 |
commit | 5deba1e60defc6ea2cd6bc0bb7e86f0cb70ed516 (patch) | |
tree | 315f50f42535d993e1cbb6e18d4fa8723544dee9 /js | |
parent | 8aa9bcb7d5fd80592868a6eebedc40bb0c775ef7 (diff) | |
download | scrumelo-5deba1e60defc6ea2cd6bc0bb7e86f0cb70ed516.tar.gz scrumelo-5deba1e60defc6ea2cd6bc0bb7e86f0cb70ed516.zip |
Add login page
Nothing is yet done with the information, but it should soon.
Diffstat (limited to 'js')
-rw-r--r-- | js/login.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/js/login.js b/js/login.js new file mode 100644 index 0000000..bbd2a19 --- /dev/null +++ b/js/login.js @@ -0,0 +1,12 @@ +function login () +{ + navigator.id.get(function(assertion) { + if (assertion) { + var assertion_field = + document.getElementById("assertion-field"); + assertion_field.value = assertion; + var login_form = document.getElementById("login-form"); + login_form.submit(); + } + }); +} |