tab/app/controllers/callbacks_controller.rb
David Vandorpe 7e07debc91
Revert "Fix for WiNA"
This reverts commit eae4a3e99c.
2018-03-21 19:40:03 +01:00

10 lines
246 B
Ruby

class CallbacksController < Devise::OmniauthCallbacksController
def zeuswpi
@user = User.from_omniauth(request.env["omniauth.auth"])
sign_in_and_redirect @user
end
def after_omniauth_failure_path_for(scope)
root_path
end
end