|
|
|
@ -7,7 +7,6 @@ function run() {
@@ -7,7 +7,6 @@ function run() {
|
|
|
|
|
var password = document.getElementById('password').value; |
|
|
|
|
sha256(password).then(function(pwhash) { |
|
|
|
|
var credentials = {username: username, password_hash: pwhash} |
|
|
|
|
console.log(username, password, credentials); |
|
|
|
|
post_object('{{ url_for('journalmarks.login') }}', credentials) |
|
|
|
|
.then(journalmarks_initkey(username, password)).then(function() { |
|
|
|
|
window.location.href = '{{ next }}'; |
|
|
|
|