Skip to content
Snippets Groups Projects
Commit 00ff7b79 authored by Marcelo Schmidt's avatar Marcelo Schmidt
Browse files

Closes #1882

parent 0b3c30ae
No related merge requests found
......@@ -38,7 +38,7 @@ Meteor.startup ->
if not siteUrl or not Meteor.userId()?
return
if RocketChat.authz.hasRole(Meteor.userId(), 'admin') is false
if RocketChat.authz.hasRole(Meteor.userId(), 'admin') is false or Meteor.settings.public.sandstorm
return c.stop()
siteUrl = siteUrl.replace /\/$/, ''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment