Skip to content

Commit 05badcd

Browse files
Merge pull request #322 from eywalker/master
Fix bug in password change handling logic
2 parents 923c2a7 + bb4c2ca commit 05badcd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

datajoint/admin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ def set_password(new_password=None, connection=None): # pragma: no cover
1111
confirm_password = getpass('Confirm password: ')
1212
if new_password != confirm_password:
1313
print('Failed to confirm the password! Aborting password change.')
14+
return
1415
connection.query("SET PASSWORD = PASSWORD('%s')" % new_password)
1516
print('Password updated.')
1617

datajoint/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.7.1"
1+
__version__ = "0.7.2"

0 commit comments

Comments
 (0)