Browse Source

removed some debug logging (esp. during login)

master
Fr3deric 7 years ago
parent
commit
38c84e2d4c
  1. 1
      journalmarks/templates/login.html
  2. 1
      journalmarks/templates/overview.html

1
journalmarks/templates/login.html

@ -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 }}';

1
journalmarks/templates/overview.html

@ -13,7 +13,6 @@ function run() { @@ -13,7 +13,6 @@ function run() {
journalmarks_loadkey().then(function() {
return post_object('{{ url_for('journalmarks.overview_get_journalmarks') }}', {});
}).then(function(jms) {
console.log(jms);
var decrs = [];
jms.forEach(function(j) {
var p = document.getElementById('prototype');

Loading…
Cancel
Save