formatting, fixing authweb
This commit is contained in:
parent
d027fa27b6
commit
dceac1f0eb
|
|
@ -27,7 +27,7 @@ if($login->isLoggedIn()) {
|
|||
<table class="table modal-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Report #</th>
|
||||
<th>#</th>
|
||||
<th class="hidden-phone">Username</th>
|
||||
<th class="hidden-phone">Question #</th>
|
||||
<th>Question</th>
|
||||
|
|
@ -75,7 +75,7 @@ if($login->isLoggedIn()) {
|
|||
<table class="table modal-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Edit #</th>
|
||||
<th>#</th>
|
||||
<th class="hidden-phone">Username</th>
|
||||
<th>New Question</th>
|
||||
<th>Old Question</th>
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue