summaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>2014-09-16 21:38:54 +0000
committerJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>2014-09-16 21:38:54 +0000
commitb519aba63ee0043ffd60f9002fc236f717d9f172 (patch)
tree4e8a47e052704bc97318550c316138c2c3977d87 /db
parente632a79d59fc90ef0076f741f16b84fb689b99df (diff)
downloadredmine-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.rb5
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