Skip to content

Commit 9c2a27f

Browse files
Removed PPTP VPN from user detail. #848
1 parent 385ba7d commit 9c2a27f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

plugin/commands/user/details.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func (cmd *DetailsCommand) Run(args []string) error {
7878
logins := cmd.Logins
7979
events := cmd.Events
8080

81-
object_mask := "userStatus[name],parent[id,username],apiAuthenticationKeys[authenticationKey]"
81+
object_mask := "userStatus[name],parent[id,username],apiAuthenticationKeys[authenticationKey],sslVpnAllowedFlag"
8282
user, err := cmd.UserManager.GetUser(id, object_mask)
8383
userInfo.User = user
8484
if err != nil {
@@ -249,8 +249,6 @@ func baseUserPrint(user datatypes.User_Customer, keys bool, ui terminal.UI) {
249249
if user.UserStatus != nil {
250250
table.Add(T("Status"), utils.FormatStringPointer(user.UserStatus.Name))
251251
}
252-
253-
table.Add(T("PPTP VPN"), utils.FormatBoolPointer(user.PptpVpnAllowedFlag))
254252
table.Add(T("SSL VPN"), utils.FormatBoolPointer(user.SslVpnAllowedFlag))
255253

256254
if len(user.SuccessfulLogins) != 0 {

0 commit comments

Comments
 (0)