- Can specify the sign in & authenticate methods to use
- Defaults for missing config now working
-
Options for specifying where redirects go to and their defaults:
config.redirect_on_impersonate = "/" config.redirect_on_revert = "/impersonate"
-
Fixed override code, so you can actually override now.
-
Options and their defaults:
config.user_class = "User" config.user_finder = "find" # User.find config.user_id_column = "id" # Such that User.find(aUser.id) works config.user_is_staff_method = "staff?" # current_user.staff?
-
Generator
rails g user_impersonate
- Impersonation mechanism works
- No generators
- No configurability