summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtoken.cgi3
1 files changed, 3 insertions, 0 deletions
diff --git a/token.cgi b/token.cgi
index 901094be4..ce8ef1d94 100755
--- a/token.cgi
+++ b/token.cgi
@@ -226,6 +226,7 @@ sub changePassword {
SET cryptpassword = ?
WHERE userid = ?},
undef, ($cryptedpassword, $userid) );
+ Bugzilla->memcached->clear({ table => 'profiles', id => $userid });
$dbh->do('DELETE FROM tokens WHERE token = ?', undef, $token);
$dbh->bz_commit_transaction();
@@ -276,6 +277,7 @@ sub changeEmail {
SET login_name = ?
WHERE userid = ?},
undef, ($new_email, $userid));
+ Bugzilla->memcached->clear({ table => 'profiles', id => $userid });
$dbh->do('DELETE FROM tokens WHERE token = ?', undef, $token);
$dbh->do(q{DELETE FROM tokens WHERE userid = ?
AND tokentype = 'emailnew'}, undef, $userid);
@@ -325,6 +327,7 @@ sub cancelChangeEmail {
SET login_name = ?
WHERE userid = ?},
undef, ($old_email, $userid));
+ Bugzilla->memcached->clear({ table => 'profiles', id => $userid });
# email has changed, so rederive groups