diff --git a/php/views/reports.html.php b/php/views/reports.html.php
index aead772..cf5945a 100644
--- a/php/views/reports.html.php
+++ b/php/views/reports.html.php
@@ -27,7 +27,7 @@ if($login->isLoggedIn()) {
- | Report # |
+ # |
Username |
Question # |
Question |
@@ -75,7 +75,7 @@ if($login->isLoggedIn()) {
- | Edit # |
+ # |
Username |
New Question |
Old Question |
diff --git a/plugin.py b/plugin.py
index bd84f97..5872014 100644
--- a/plugin.py
+++ b/plugin.py
@@ -2748,7 +2748,7 @@ class TriviaTime(callbacks.Plugin):
def insertLogin(self, username, salt, isHashed, password, capability):
usernameCanonical = ircutils.toLower(username)
if self.loginExists(username):
- self.updateLogin(username, salt, isHashed, password, capability)
+ return self.updateLogin(username, salt, isHashed, password, capability)
if not isHashed:
isHashed = 0
else:
@@ -3269,6 +3269,7 @@ class TriviaTime(callbacks.Plugin):
c.execute('''update trivialogin set
username=?,
salt=?,
+ is_hashed=?,
password=?,
capability=?
where username_canonical=?''', (username, salt, isHashed, password, capability, usernameCanonical)