X-Git-Url: https://mudpy.org/gitweb?p=mudpy.git;a=blobdiff_plain;f=lib%2Fmuff%2Fmuffuser.py;h=ebe0c32fb03716a73ab4281765ce1409426c2be7;hp=68818692f43b5cd223fb88e93f68593911483943;hb=994d6e52ce3d5c719991e8f798642cdb8a24b7d1;hpb=0f39af78818acbbee0b99145ff5ff303553027c6 diff --git a/lib/muff/muffuser.py b/lib/muff/muffuser.py index 6881869..ebe0c32 100644 --- a/lib/muff/muffuser.py +++ b/lib/muff/muffuser.py @@ -97,10 +97,12 @@ class User: try: temporary_record.read(filename) self.passhash = temporary_record.get("account", "passhash") + return True # otherwise, the password hash is empty except: self.passhash = "" + return False def save(self): """Record account data to cold storage."""