2 Commits 95d8d6d942 ... c5c8288206

Author SHA1 Message Date
  Farooq Karimi Zadeh c5c8288206 importing pickle... 3 years ago
  Farooq Karimi Zadeh 87514c6866 Neo -> Tomato 3 years ago
1 changed files with 2 additions and 1 deletions
  1. 2 1
      badsites.py

+ 2 - 1
badsites.py

@@ -2,6 +2,7 @@
 # Author: Farooq Karimi Zadeh
 # Email: fkz@riseup.net
 # See LICENSE for licence information
+import pickle
 import cherrypy # <3
 import random
 import os
@@ -207,7 +208,7 @@ class Veil:
         pass_hash = sha512(password.encode()).hexdigest()
         if username == "tomato" and pass_hash == self.config.tomato_pwd_hash:
             cherrypy.session["login?"] = "tomato"
-            return "Welcome Neo!"
+            return "Welcome Tomato!"
         with self.env.begin(db=self.admin_db) as txn:
             the_hash = txn.get(username)
             if the_hash and the_hash.decode() == pass_hash: