Skip to content

Commit

Permalink
Merge pull request #765 from ontoportal-lirmm/fix/account-page-infini…
Browse files Browse the repository at this point in the history
…te-login-redirection

Fix: User Account Page, Infinite redirect loop to login page
  • Loading branch information
Bilelkihal authored Oct 3, 2024
2 parents 4cdc1aa + 504d02d commit 74e0c3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/users_controller.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class UsersController < ApplicationController

before_action :verify_owner, only: [:edit, :show, :subscribe, :un_subscribe]
before_action :verify_owner, only: [:edit, :subscribe, :un_subscribe]
before_action :authorize_admin, only: [:index,:subscribe, :un_subscribe]
layout :determine_layout

Expand Down

0 comments on commit 74e0c3e

Please sign in to comment.