mirror of
https://github.com/System-End/hackatime.git
synced 2026-04-20 00:35:22 +00:00
fix: fix missing path helper (#705)
This commit is contained in:
parent
9d5b2690de
commit
b72d257470
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ class SessionsController < ApplicationController
|
|||
if params[:error].present?
|
||||
Rails.logger.error "HCA OAuth error: #{params[:error]}"
|
||||
Sentry.capture_message("HCA OAuth error: #{params[:error]}")
|
||||
redirect_to redirect_path, alert: "Failed to authenticate with Hack Club Auth. Error ID: #{Sentry.last_event_id}"
|
||||
redirect_to root_path, alert: "Failed to authenticate with Hack Club Auth. Error ID: #{Sentry.last_event_id}"
|
||||
return
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue