Skip to content

Commit

Permalink
fixed the error page when entering wrong password, then right passwor…
Browse files Browse the repository at this point in the history
…d. (#5410)
  • Loading branch information
VegChick2 authored and jywarren committed Apr 8, 2019
1 parent dd2df90 commit 4c6ecb2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/controllers/user_sessions_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -182,4 +182,8 @@ def logout_remotely
prev_uri = URI(request.referer || "").path
redirect_to prev_uri + '?_=' + Time.current.to_i.to_s
end

def index
redirect_to '/dashboard'
end
end

0 comments on commit 4c6ecb2

Please sign in to comment.