X-Git-Url: https://mudpy.org/gitweb?a=blobdiff_plain;f=lib%2Fmuff%2Fmuffuser.py;h=580fc85df834259377b7f50ef2efcedf3706e4c2;hb=a45e64d15b49910f06d950982b5b052b24e03269;hp=c35346f50032e4c31e57f0582b26225ad4f20c9e;hpb=9445c0c8b80b880dd24b2d0e5ef73c71340b9a77;p=mudpy.git diff --git a/lib/muff/muffuser.py b/lib/muff/muffuser.py index c35346f..580fc85 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."""