Commits

Marcin Kuzminski committed e8afa84

fixes issue #199 wrong redirection for non admin users after creating a repository

Comments (0)

Files changed (1)

rhodecode/templates/admin/repos/repo_add_base.html

             </div>
             <div class="input">
                 ${h.text('repo_name',c.new_repo,class_="small")}
+                %if not h.HasPermissionAll('hg.admin')('repo create form'):
+                    ${h.hidden('user_created',True)}
+                %endif
             </div>
          </div>
         <div class="field">