diff options
author | Byron Jones <glob@mozilla.com> | 2015-08-24 20:03:36 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-08-24 20:03:36 +0200 |
commit | 59f96419500ae8c1b87b06abb0a5cca9f165b030 (patch) | |
tree | 40b907931a7fb5b32f411804fc816812ff2022c5 /Bugzilla/Install | |
parent | c63ecc86155c5bb6fb85e6412fe7c6e80ba33a65 (diff) | |
download | bugzilla-59f96419500ae8c1b87b06abb0a5cca9f165b030.tar.gz bugzilla-59f96419500ae8c1b87b06abb0a5cca9f165b030.tar.xz |
Bug 1196134 - add ability for admins to force a user to change their password on next login (schema only)
Diffstat (limited to 'Bugzilla/Install')
-rw-r--r-- | Bugzilla/Install/DB.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm index 5b8cc3992..9a329d355 100644 --- a/Bugzilla/Install/DB.pm +++ b/Bugzilla/Install/DB.pm @@ -747,6 +747,11 @@ sub update_table_definitions { _add_restrict_ipaddr(); + $dbh->bz_add_column('profiles', 'password_change_required', + { TYPE => 'BOOLEAN', NOTNULL => 1, DEFAULT => 'FALSE' }); + $dbh->bz_add_column('profiles', 'password_change_reason', + { TYPE => 'varchar(64)' }); + ################################################################ # New --TABLE-- changes should go *** A B O V E *** this point # ################################################################ |