1
0
mirror of https://github.com/bingohuang/docker-labs.git synced 2025-10-04 09:23:21 +08:00

Allow to override session timeout. (#86)

* Allow to override session timeout.

This comes useful as it can be overriden from the SDK now

* Fix comments
This commit is contained in:
Marcos Nils
2017-01-31 13:51:57 +02:00
committed by GitHub
parent 1d37f98efd
commit a5d1e5c207
6 changed files with 24 additions and 20 deletions

View File

@@ -7,8 +7,7 @@
// Controller keeps code/logic separate from the HTML
app.controller("BypassController", ['$scope', '$log', '$http', '$location', '$timeout', function($scope, $log, $http, $location, $timeout) {
setTimeout(function() {
var el = document.querySelector("#submit");
el.click();
document.getElementById("welcomeFormBypass").submit();
}, 500);
}]);