mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-19 13:25:57 +00:00
Monotone-Parent: 85c10bef83b01a3ff9635d8bbe0d9971df2d6685
Monotone-Revision: dd4aef6426001fe5d5e03a26c8e441a3fbd87196 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-05-22T16:03:29 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -20,7 +20,8 @@ function onLoginClick(event) {
|
||||
var password = $("password").value;
|
||||
|
||||
if (userName.length > 0) {
|
||||
if (loginSuffix && loginSuffix.length > 0
|
||||
if (typeof(loginSuffix) != "undefined"
|
||||
&& loginSuffix.length > 0
|
||||
&& !userName.endsWith(loginSuffix))
|
||||
userName += loginSuffix;
|
||||
var url = $("connectForm").getAttribute("action");
|
||||
@@ -39,7 +40,7 @@ function onLoginCallback(http) {
|
||||
if (http.readyState == 4) {
|
||||
if (isHttpStatus204(http.status)) {
|
||||
var userName = $("userName").value;
|
||||
if (loginSuffix
|
||||
if (typeof(loginSuffix) != "undefined"
|
||||
&& loginSuffix.length > 0
|
||||
&& !userName.endsWith(loginSuffix))
|
||||
userName += loginSuffix;
|
||||
|
||||
Reference in New Issue
Block a user