Option to force a user to change his password (#3872).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12081 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2013-08-05 17:58:33 +00:00
1 parent bd4fba08e5
commit b764e39847
10 files changed
+78 -6

No files matched your search

@@ -0,0 +1,9 @@
class AddUsersMustChangePasswd < ActiveRecord::Migration
def up
add_column :users, :must_change_passwd, :boolean, :default => false, :null => false
end
def down
remove_column :users, :must_change_passwd
end
end