mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-14 21:04:53 +00:00
(js/css) Update generated files
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
!function(){"use strict";function o(o,n,e,t,i,r){function l(){return c.loginState="authenticating",r.login(c.creds).then(function(o){c.loginState="logged",c.cn=o.cn,e(function(){n.location.href===o.url?n.location.reload(!0):n.location.href=o.url},1e3)},function(o){c.loginState="error",c.errorMessage=o.error}),!1}function a(o){function n(o){this.closeDialog=function(){o.hide()}}i.show({targetEvent:o,templateUrl:"aboutBox.html",controller:n,controllerAs:"about"}),n.$inject=["$mdDialog"]}var c=this;c.creds={username:n.cookieUsername,password:null,rememberLogin:angular.isDefined(n.cookieUsername)&&n.cookieUsername.length>0},c.login=l,c.loginState=!1,c.showAbout=a,c.showLogin=!1,e(function(){c.showLogin=!0},100)}angular.module("SOGo.MainUI",["SOGo.Common","SOGo.Authentication"]),o.$inject=["$scope","$window","$timeout","Dialog","$mdDialog","Authentication"],angular.module("SOGo.MainUI").controller("LoginController",o)}();
|
||||
!function(){"use strict";function n(n,o,t,e,i,a){var l=this;this.$onInit=function(){this.creds={username:o.cookieUsername,password:null,language:o.language,rememberLogin:angular.isDefined(o.cookieUsername)&&o.cookieUsername.length>0},this.loginState=!1,this.showLogin=!1,t(function(){l.showLogin=!0},100)},this.login=function(){return l.loginState="authenticating",a.login(l.creds).then(function(n){l.loginState="logged",l.cn=n.cn,t(function(){o.location.href===n.url?o.location.reload(!0):o.location.href=n.url},1e3)},function(n){l.loginState="error",l.errorMessage=n.error}),!1},this.showAbout=function(n){function o(n){this.closeDialog=function(){n.hide()}}i.show({targetEvent:n,templateUrl:"aboutBox.html",controller:o,controllerAs:"about"}),o.$inject=["$mdDialog"]},this.changeLanguage=function(n){o.location.href=ApplicationBaseURL+"login?language="+this.creds.language}}angular.module("SOGo.MainUI",["SOGo.Common","SOGo.Authentication"]),n.$inject=["$scope","$window","$timeout","Dialog","$mdDialog","Authentication"],angular.module("SOGo.MainUI").controller("LoginController",n)}();
|
||||
//# sourceMappingURL=Main.js.map
|
||||
Reference in New Issue
Block a user