diff options
Diffstat (limited to 'modules/mm_security.py')
| -rw-r--r-- | modules/mm_security.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mm_security.py b/modules/mm_security.py index be7f75130..51cb6a309 100644 --- a/modules/mm_security.py +++ b/modules/mm_security.py @@ -35,7 +35,7 @@ class SecurityManager: def CheckSiteAdminPassword(self, str): try: - f = open(SITE_PW_FILE, "r+") + f = open(SITE_PW_FILE, "r") pw = f.read() f.close() return mm_crypt.crypt(str, pw) == pw |
