mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-17 18:51:10 +01:00
send default user type back to client
This commit is contained in:
@@ -190,7 +190,7 @@ Sonia.scm.Main = Ext.extend(Ext.util.Observable, {
|
||||
|
||||
var securitySection = null;
|
||||
|
||||
if ( state.user.type == 'xml' && state.user.name != 'anonymous' ){
|
||||
if ( state.user.type == state.defaultUserType && state.user.name != 'anonymous' ){
|
||||
securitySection = {
|
||||
title: this.sectionSecurityText,
|
||||
links: [{
|
||||
|
||||
Reference in New Issue
Block a user