diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-06-02 16:54:20 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-06-02 16:54:20 -0400 |
| commit | c2a74cc20ebaa9898052ab758821ccfc7c3ee1f4 (patch) | |
| tree | 9a9d90471dd6241da885950c5b52416bba28619f /src/login.js | |
| download | sober-c2a74cc20ebaa9898052ab758821ccfc7c3ee1f4.tar.gz sober-c2a74cc20ebaa9898052ab758821ccfc7c3ee1f4.tar.bz2 sober-c2a74cc20ebaa9898052ab758821ccfc7c3ee1f4.zip | |
Initial commit
Diffstat (limited to 'src/login.js')
| -rw-r--r-- | src/login.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/login.js b/src/login.js new file mode 100644 index 0000000..327d754 --- /dev/null +++ b/src/login.js @@ -0,0 +1,4 @@ +function onLogin(){ + document.cookie = "username=John Doe"; + window.location = "./dashboard.html"; +} |
