Skip to content
Snippets Groups Projects
Commit 83649f15 authored by rcaferati's avatar rcaferati
Browse files

Update prompt.coffee

parent e9ba1dd2
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ Template.avatarPrompt.onCreated ->
Template.avatarPrompt.onRendered ->
Tracker.afterFlush ->
# this should throw an error-template
FlowRouter.go("home") if !RocketChat.settings.get("Accounts_AllowUserProfileChange")
FlowRouter.go("home") if !RocketChat.settings.get("Accounts_AllowUserAvatarChange")
SideNav.setFlex "accountFlex"
SideNav.openFlex()
......
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