diff --git a/app/controllers/user_sessions_controller.rb b/app/controllers/user_sessions_controller.rb index 62db12d..2755e06 100644 --- a/app/controllers/user_sessions_controller.rb +++ b/app/controllers/user_sessions_controller.rb @@ -53,7 +53,7 @@ class UserSessionsController < ApplicationController current_session = UserSession.create(user, remember_me: true) redirect_to root_path, notice: 'Logged in!' else - redirect_to login_path, alert: 'A problem occurred trying to log you in via Twitch. If this keeps happening, please report the error!' + redirect_to login_path, alert: 'A problem occurred trying to log you in via Twitch. The error reported was ' + user.error + '.' end else user.oauth_token = token