OSDN Git Service

Force user password change for users created by admin
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Thu, 13 Jun 2013 18:06:27 +0000 (21:06 +0300)
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Thu, 13 Jun 2013 18:06:27 +0000 (21:06 +0300)
commit6838304a85cd3b5dfdac076c600cb15f5643c674
tree61785561cb8fde46b41630b0a6ad60ca8eb24b02
parent00882b3c33cb377b903cdf8e2b91149081739785
Force user password change for users created by admin
app/controllers/admin/users_controller.rb
app/models/user.rb
app/views/admin/users/_form.html.haml
app/views/admin/users/show.html.haml
app/views/notify/new_user_email.html.haml
app/views/notify/new_user_email.text.erb
db/migrate/20130613173246_add_created_by_id_to_user.rb [new file with mode: 0644]
db/schema.rb
spec/features/admin/admin_users_spec.rb