forked from External/greenlight
Signed in users are now redirected to main page if they try to access root (#1726)
This commit is contained in:
@ -22,5 +22,7 @@ class MainController < ApplicationController
|
||||
def index
|
||||
# Store invite token
|
||||
session[:invite_token] = params[:invite_token] if params[:invite_token] && invite_registration
|
||||
|
||||
redirect_to home_page if current_user
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user