403 for unauth apps
This commit is contained in:
parent
bd9451f923
commit
1c7c283083
|
@ -22,7 +22,8 @@ class OrbitBackendController< ApplicationController
|
|||
|
||||
def check_user_can_use
|
||||
unless check_permission
|
||||
redirect_to polymorphic_path(['panel',@app_title,'back_end','public'])
|
||||
#redirect_to polymorphic_path(['panel',@app_title,'back_end','public'])
|
||||
render :text => '403 Forbidden'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue