Skip to content

Commit

Permalink
#1629 Display thehive version in login page
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed Nov 8, 2020
1 parent 1dc0a4f commit 26fa510
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions frontend/app/scripts/controllers/AuthenticationCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
};
Expand Down
4 changes: 3 additions & 1 deletion frontend/app/views/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,7 @@
</form>
</div>


<div class="text-center mv-xs text-muted">
<small>Version: {{version}}</small>
</div>
</div>

0 comments on commit 26fa510

Please sign in to comment.