From 26fa5105b3422753620b4babe9b3c5b465b44fac Mon Sep 17 00:00:00 2001 From: Nabil Adouani Date: Sun, 8 Nov 2020 12:28:03 +0100 Subject: [PATCH] #1629 Display thehive version in login page --- frontend/app/scripts/controllers/AuthenticationCtrl.js | 2 ++ frontend/app/views/login.html | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/app/scripts/controllers/AuthenticationCtrl.js b/frontend/app/scripts/controllers/AuthenticationCtrl.js index 7b9685e601..30d0d2867b 100644 --- a/frontend/app/scripts/controllers/AuthenticationCtrl.js +++ b/frontend/app/scripts/controllers/AuthenticationCtrl.js @@ -5,6 +5,8 @@ 'use strict'; angular.module('theHiveControllers') .controller('AuthenticationCtrl', function($rootScope, $scope, $state, $location, $uibModalStack, $stateParams, AuthenticationSrv, NotificationSrv, UtilsSrv, UrlParser, appConfig) { + $scope.version = appConfig.versions.TheHive; + $scope.params = { requireMfa: false }; diff --git a/frontend/app/views/login.html b/frontend/app/views/login.html index efb70a376b..d4dfdd4229 100644 --- a/frontend/app/views/login.html +++ b/frontend/app/views/login.html @@ -44,5 +44,7 @@ - +
+ Version: {{version}} +