aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtoken.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/token.cgi b/token.cgi
index 9f7dcbdcb..d52106fa7 100755
--- a/token.cgi
+++ b/token.cgi
@@ -256,7 +256,7 @@ sub cancelChangeEmail {
# check to see if it has been altered
if ($user->login ne $old_email) {
$user->set_login($old_email);
- $user->update({ keep_session => 1 });
+ $user->update({ keep_tokens => 1 });
$vars->{'message'} = "email_change_canceled_reinstated";
}