2020-02-02 17:22:38 +00:00
|
|
|
class DeviseOverrides::SessionsController < ::DeviseTokenAuth::SessionsController
|
2019-08-19 08:19:57 +00:00
|
|
|
# Prevent session parameter from being passed
|
|
|
|
# Unpermitted parameter: session
|
|
|
|
wrap_parameters format: []
|
2020-02-15 17:27:48 +00:00
|
|
|
|
|
|
|
def render_create_success
|
|
|
|
render 'devise/auth.json'
|
|
|
|
end
|
2019-08-19 08:19:57 +00:00
|
|
|
end
|