diff options
author | Jean-Baptiste Barth <jeanbaptiste.barth@gmail.com> | 2014-09-16 21:38:54 +0000 |
---|---|---|
committer | Jean-Baptiste Barth <jeanbaptiste.barth@gmail.com> | 2014-09-16 21:38:54 +0000 |
commit | b519aba63ee0043ffd60f9002fc236f717d9f172 (patch) | |
tree | 4e8a47e052704bc97318550c316138c2c3977d87 /db | |
parent | e632a79d59fc90ef0076f741f16b84fb689b99df (diff) | |
download | redmine-b519aba63ee0043ffd60f9002fc236f717d9f172.tar.gz redmine-b519aba63ee0043ffd60f9002fc236f717d9f172.zip |
Expire other sessions on password change (#17796).
Contributed by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@13412 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20140903143914_add_password_changed_at_to_user.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20140903143914_add_password_changed_at_to_user.rb b/db/migrate/20140903143914_add_password_changed_at_to_user.rb new file mode 100644 index 000000000..508b9d809 --- /dev/null +++ b/db/migrate/20140903143914_add_password_changed_at_to_user.rb @@ -0,0 +1,5 @@ +class AddPasswordChangedAtToUser < ActiveRecord::Migration + def change + add_column :users, :passwd_changed_on, :datetime + end +end |