diff --git a/VERSION b/VERSION index fde42951..4b150ea3 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.4.6-stable+timestamp.2013.05.12.10.26.52 +Version 2.4.6-stable+timestamp.2013.05.12.20.06.49 diff --git a/gluon/tools.py b/gluon/tools.py index c716dd44..cdfdeddf 100644 --- a/gluon/tools.py +++ b/gluon/tools.py @@ -926,7 +926,7 @@ class Auth(object): register_button='Register', password_reset_button='Request reset password', password_change_button='Change password', - profile_save_button='Save profile', + profile_save_button='Apply changes', submit_button='Submit', verify_password='Verify Password', delete_label='Check to delete', @@ -2874,6 +2874,8 @@ class Auth(object): session.flash = self.messages.profile_updated self.log_event(log, self.user) callback(onaccept, form) + if form.deleted: + return self.logout() if not next: next = self.url(args=request.args) else: