From 987d823d991c26b460e7a1934b9638b1c8b7973d Mon Sep 17 00:00:00 2001 From: Nabil Adouani Date: Wed, 22 Jul 2020 12:17:12 +0200 Subject: [PATCH] Revert "#1410 Add mfa, hasKey and hasPassword properties in users" This reverts commit 1715ba5f9bee509a231cf34d7ad7196bd8e1eaf1. --- thehive/app/org/thp/thehive/controllers/v1/Properties.scala | 3 --- 1 file changed, 3 deletions(-) diff --git a/thehive/app/org/thp/thehive/controllers/v1/Properties.scala b/thehive/app/org/thp/thehive/controllers/v1/Properties.scala index 45ba17bef6..d631fc19d8 100644 --- a/thehive/app/org/thp/thehive/controllers/v1/Properties.scala +++ b/thehive/app/org/thp/thehive/controllers/v1/Properties.scala @@ -236,9 +236,6 @@ class Properties @Inject() ( .property("name", UniMapping.string)(_.field.readonly) .property("locked", UniMapping.boolean)(_.field.readonly) .property("avatar", UniMapping.string.optional)(_.select(_.avatar.attachmentId.map(id => s"/api/datastore/$id")).readonly) - .property("mfa", UniMapping.boolean)(_.select(_.totpSecret.fold.map(!_.isEmpty)).readonly) - .property("hasKey", UniMapping.boolean)(_.select(_.apikey.fold.map(!_.isEmpty)).readonly) - .property("hasPassword", UniMapping.boolean)(_.select(_.password.fold.map(!_.isEmpty)).readonly) .build lazy val observable: List[PublicProperty[_, _]] =