mirror of
https://github.com/discourse/discourse.git
synced 2025-03-26 21:56:06 +08:00
Don't require authentication for invites
This commit is contained in:
parent
acf147ef88
commit
a523fa56ac
@ -1,6 +1,8 @@
|
|||||||
class InvitesController < ApplicationController
|
class InvitesController < ApplicationController
|
||||||
|
|
||||||
skip_before_filter :check_xhr, :check_restricted_access
|
skip_before_filter :check_xhr, :check_restricted_access
|
||||||
|
skip_before_filter :redirect_to_login_if_required
|
||||||
|
|
||||||
before_filter :ensure_logged_in, only: [:destroy]
|
before_filter :ensure_logged_in, only: [:destroy]
|
||||||
|
|
||||||
def show
|
def show
|
||||||
|
Loading…
x
Reference in New Issue
Block a user