diff --git a/src/configs/Config.php b/src/configs/Config.php index c70d51405..ae87359e8 100755 --- a/src/configs/Config.php +++ b/src/configs/Config.php @@ -158,7 +158,7 @@ function nsconddefine($constant, $value) * Version number for upgrade database function * @var int */ -nsdefine('DATABASE_VERSION', 68); +nsdefine('DATABASE_VERSION', 69); /** * Minimum Version fo Yioop for which keyword ad script * still works with this version @@ -375,20 +375,12 @@ nsdefine('FALLBACK_LOCALE_DIR', BASE_DIR . "/locale"); nsdefine('HASH_CAPTCHA', 2); /** Captcha mode indicating to use a classic image based captcha*/ nsdefine('IMAGE_CAPTCHA', 3); -/** Authentication Mode Possibility*/ -nsdefine('NORMAL_AUTHENTICATION', 1); -/** Authentication Mode Possibility*/ -nsdefine('ZKP_AUTHENTICATION', 2); /** */ nsdefine('NO_RECOVERY', 0); /** */ nsdefine('EMAIL_RECOVERY', 1); /** */ nsdefine('EMAIL_AND_QUESTIONS_RECOVERY', 2); -/** If ZKP Authentication via Fiat Shamir Protocol used how many iterations - * to do - */ -nsconddefine('FIAT_SHAMIR_ITERATIONS', 20); if (file_exists(WORK_DIRECTORY . PROFILE_FILE_NAME)) { if ((file_exists(WORK_DIRECTORY . "/locale/en-US") && !file_exists(WORK_DIRECTORY . "/locale/en_US")) @@ -435,7 +427,6 @@ if (file_exists(WORK_DIRECTORY . PROFILE_FILE_NAME)) { } /** @ignore */ nsconddefine('PROFILE', false); - nsdefine('AUTHENTICATION_MODE', NORMAL_AUTHENTICATION); nsdefine('RECOVERY_MODE', EMAIL_RECOVERY); nsconddefine('DEBUG_LEVEL', NO_DEBUG_INFO); nsdefine('USE_FILECACHE', false); @@ -1118,8 +1109,6 @@ nsdefine('MAX_IP_ADDRESS_AS_STRING_LEN', 39); nsdefine('NUM_FIELD_LEN', 4); /** Length for writing mode in locales */ nsdefine('WRITING_MODE_LEN', 5); -/** Length of zero knowledge password string */ -nsdefine('ZKP_PASSWORD_LEN', 200); /** Max user session size */ nsdefine('MAX_USER_SESSION_SIZE', 16384); /* diff --git a/src/configs/Createdb.php b/src/configs/Createdb.php index fdb5a35a3..fb924e544 100755 --- a/src/configs/Createdb.php +++ b/src/configs/Createdb.php @@ -124,24 +124,13 @@ $creation_time = L\microTimestamp(); //numerical value of the blank password $profile = $profile_model->getProfile(WORK_DIRECTORY); $new_profile = $profile; -$new_profile['FIAT_SHAMIR_MODULUS'] = L\generateFiatShamirModulus(); $profile_model->updateProfile(WORK_DIRECTORY, $new_profile, $profile); -if ($new_profile['FIAT_SHAMIR_MODULUS']) { - $sha1_of_blank_string = L\bchexdec(sha1('')); - //calculating V = S ^ 2 mod N - $temp = bcpow($sha1_of_blank_string . '', '2'); - $zkp_password = ($new_profile['FIAT_SHAMIR_MODULUS']) ? - bcmod($temp, $new_profile['FIAT_SHAMIR_MODULUS']) : ""; -} else { - $sha1_of_blank_string = ""; - $zkp_password = ""; -} //default account is root without a password $sql ="INSERT INTO USERS VALUES (" . ROOT_ID . ", 'admin', 'admin','" . ROOT_USERNAME . "', 'root@dev.null', '".L\crawlCrypt('')."', '".ACTIVE_STATUS. "', '".L\crawlCrypt(ROOT_USERNAME . AUTH_KEY . $creation_time). - "', 0,'$creation_time', 0, '$zkp_password')"; + "', 0,'$creation_time', 0)"; $db->execute($sql); /* public account is an inactive account for used for public permissions default account is root without a password @@ -149,7 +138,7 @@ $db->execute($sql); $sql ="INSERT INTO USERS VALUES (".PUBLIC_USER_ID.", 'all', 'all','public', 'public@dev.null', '".L\crawlCrypt('')."', '".INACTIVE_STATUS. "', '".L\crawlCrypt('public' . AUTH_KEY . $creation_time)."', 0, - '$creation_time', 0, '$zkp_password')"; + '$creation_time', 0)"; $db->execute($sql); //default public group with group id 1 $creation_time = L\microTimestamp(); diff --git a/src/controllers/AdminController.php b/src/controllers/AdminController.php index 5ac35309c..14f28f5a4 100755 --- a/src/controllers/AdminController.php +++ b/src/controllers/AdminController.php @@ -123,104 +123,56 @@ class AdminController extends Controller implements CrawlConstants tl('admin_controller_need_cookies') . "</h1>');"; unset($_SESSION['USER_ID']); } else if ($this->checkSignin()) { - if (!isset($_SESSION['AUTH_COUNT']) || - isset($_REQUEST['round_num']) && - $_REQUEST['round_num'] < $_SESSION['AUTH_COUNT']) { - $_SESSION['AUTH_COUNT'] = 0; - } - if (C\AUTHENTICATION_MODE == C\ZKP_AUTHENTICATION) { - $_SESSION['AUTH_COUNT']++; - if ($_SESSION['AUTH_COUNT'] != C\FIAT_SHAMIR_ITERATIONS) { - $_SESSION['SALT_VALUE'] = rand(0, 1); - $salt_value = $_SESSION['SALT_VALUE']; - if ($_SESSION['AUTH_COUNT'] == - C\FIAT_SHAMIR_ITERATIONS - 1) { - $salt_value = "done" . $salt_value; - } - e($salt_value); - \seekquarry\yioop\library\webExit(); - } - } else { - /* - if not doing Fiat Shamir pretend have gone through all - needed iterations - */ - $_SESSION['AUTH_COUNT'] = C\FIAT_SHAMIR_ITERATIONS; - } $_SESSION['USER_NAME'] = $_REQUEST['u']; // successful login. - if ($_SESSION['AUTH_COUNT'] == C\FIAT_SHAMIR_ITERATIONS) { - $_SESSION['AUTH_COUNT'] = 0; - $user_id = $this->model("signin")->getUserId( - $this->clean($_REQUEST['u'], "string")); - $session = $this->model("user")->getUserSession($user_id); - $_SESSION['USER_NAME'] = $_REQUEST['u']; - if (isset($_SESSION['LAST_ACTIVITY']) && - is_array($_SESSION['LAST_ACTIVITY'])) { - $_REQUEST = array_merge($_REQUEST, - $_SESSION['LAST_ACTIVITY']); - } - if (is_array($session)) { - $_SESSION = $session; - } - $allowed_activities = - $this->model("user")->getUserActivities($user_id); - // now don't want to use remote address anymore - if (empty($allowed_activities)) { - unset($_SESSION['USER_ID']); - unset($_REQUEST); - $_REQUEST['c'] = "admin"; - return $this->redirectWithMessage( - tl('admin_controller_account_not_active')); - } else { - $_SESSION['USER_ID'] = $user_id; - $_REQUEST[C\CSRF_TOKEN] = $this->generateCSRFToken( - $_SESSION['USER_ID']); - $preserve_array = []; - if (!empty($_REQUEST['preserve']) && - $_REQUEST['preserve'] == 'true') { - $preserve_array = [ - 'a','arg', 'filter', 'group_id', - 'just_group_id', 'visible_users', 'user_filter' - ]; - } - return $this->redirectWithMessage( - tl('admin_controller_login_successful'), - $preserve_array); - } + $user_id = $this->model("signin")->getUserId( + $this->clean($_REQUEST['u'], "string")); + $session = $this->model("user")->getUserSession($user_id); + $_SESSION['USER_NAME'] = $_REQUEST['u']; + if (isset($_SESSION['LAST_ACTIVITY']) && + is_array($_SESSION['LAST_ACTIVITY'])) { + $_REQUEST = array_merge($_REQUEST, + $_SESSION['LAST_ACTIVITY']); } - } else { - $alt_message = false; - $_SESSION['AUTH_COUNT'] = 0; - if (C\AUTHENTICATION_MODE == C\ZKP_AUTHENTICATION - && !isset($_SESSION['AUTH_FAILED'])) { - if (isset($_REQUEST['round_num'])) { - $_SESSION['SALT_VALUE'] = 1; - $_SESSION['AUTH_FAILED'] = -1; - e($_SESSION['AUTH_FAILED']); - \seekquarry\yioop\library\webExit(); - } else { - unset($_SESSION['USER_ID']); - unset($_SESSION['AUTH_FAILED']); - unset($_REQUEST); - $_REQUEST['c'] = "admin"; - return $this->redirectWithMessage( - tl('admin_controller_no_back_button')); - } + if (is_array($session)) { + $_SESSION = $session; } - if (!$alt_message) { + $allowed_activities = + $this->model("user")->getUserActivities($user_id); + // now don't want to use remote address anymore + if (empty($allowed_activities)) { unset($_SESSION['USER_ID']); - unset($_SESSION['AUTH_FAILED']); - $login_attempted = false; - if (isset($_REQUEST['u'])) { - $login_attempted = true; - } unset($_REQUEST); $_REQUEST['c'] = "admin"; - if ($login_attempted) { - return $this->redirectWithMessage( - tl('admin_controller_login_failed')); + return $this->redirectWithMessage( + tl('admin_controller_account_not_active')); + } else { + $_SESSION['USER_ID'] = $user_id; + $_REQUEST[C\CSRF_TOKEN] = $this->generateCSRFToken( + $_SESSION['USER_ID']); + $preserve_array = []; + if (!empty($_REQUEST['preserve']) && + $_REQUEST['preserve'] == 'true') { + $preserve_array = [ + 'a','arg', 'filter', 'group_id', + 'just_group_id', 'visible_users', 'user_filter' + ]; } + return $this->redirectWithMessage( + tl('admin_controller_login_successful'), + $preserve_array); + } + } else { + unset($_SESSION['USER_ID']); + $login_attempted = false; + if (isset($_REQUEST['u'])) { + $login_attempted = true; + } + unset($_REQUEST); + $_REQUEST['c'] = "admin"; + if ($login_attempted) { + return $this->redirectWithMessage( + tl('admin_controller_login_failed')); } } } else if ($this->checkCSRFToken(C\CSRF_TOKEN, "config")) { @@ -238,14 +190,6 @@ class AdminController extends Controller implements CrawlConstants $data["ADMIN"] = false; } if ($view == 'signin') { - if (C\AUTHENTICATION_MODE == C\ZKP_AUTHENTICATION) { - $data['AUTH_ITERATION'] = C\FIAT_SHAMIR_ITERATIONS; - $data['FIAT_SHAMIR_MODULUS'] = C\FIAT_SHAMIR_MODULUS; - $_SESSION['SALT_VALUE'] = rand(0, 1); - $data['INCLUDE_SCRIPTS'] = ["zkp", "big_int", "sha1"]; - } else { - unset($_SESSION['SALT_VALUE']); - } $data[C\CSRF_TOKEN] = $this->generateCSRFToken( L\remoteAddress()); $data['SCRIPT'] .= "var u; if ((u = elt('username')) && u.focus) ". @@ -280,28 +224,11 @@ class AdminController extends Controller implements CrawlConstants */ public function checkSignin() { - if (C\AUTHENTICATION_MODE == C\NORMAL_AUTHENTICATION) { - $result = false; - if (isset($_REQUEST['u']) && isset($_REQUEST['p']) ) { - $result = $this->model("signin")->checkValidSignin( - $this->clean($_REQUEST['u'], "string"), - $this->clean($_REQUEST['p'], "string") ); - } - } else { - if (!isset($_REQUEST['u']) || !isset($_REQUEST['x']) || - !isset($_REQUEST['y']) || !isset($_SESSION['SALT_VALUE']) || - isset($_SESSION['AUTH_FAILED'])) { - $result = false; - } else { - $result = $this->model("signin")->checkValidSigninForZKP( - $this->clean($_REQUEST['u'], "string"), - $this->clean($_REQUEST['x'], "string"), - $this->clean($_REQUEST['y'], "string"), - $_SESSION['SALT_VALUE'], C\FIAT_SHAMIR_MODULUS); - } - if (!$result) { - $_SESSION['AUTH_COUNT'] = 0; - } + $result = false; + if (isset($_REQUEST['u']) && isset($_REQUEST['p']) ) { + $result = $this->model("signin")->checkValidSignin( + $this->clean($_REQUEST['u'], "string"), + $this->clean($_REQUEST['p'], "string") ); } return $result; } diff --git a/src/controllers/RegisterController.php b/src/controllers/RegisterController.php index 31c6a861b..ef20607a0 100755 --- a/src/controllers/RegisterController.php +++ b/src/controllers/RegisterController.php @@ -192,14 +192,6 @@ class RegisterController extends Controller implements CrawlConstants $visitor_model->updateVisitor( L\remoteAddress(), "captcha_time_out"); } - if (C\AUTHENTICATION_MODE == C\ZKP_AUTHENTICATION) { - $_SESSION['SALT_VALUE'] = rand(0, 1); - $data['AUTH_ITERATION'] = C\FIAT_SHAMIR_ITERATIONS; - $data['FIAT_SHAMIR_MODULUS'] = C\FIAT_SHAMIR_MODULUS; - $data['INCLUDE_SCRIPTS'] = ["sha1", "zkp", "big_int"]; - } else { - unset($_SESSION['SALT_VALUE']); - } if (C\CAPTCHA_MODE == C\HASH_CAPTCHA) { if (!isset($data['INCLUDE_SCRIPTS'])) { $data['INCLUDE_SCRIPTS']= []; @@ -274,28 +266,16 @@ class RegisterController extends Controller implements CrawlConstants switch (C\REGISTRATION_TYPE) { case 'no_activation': $data['REFRESH'] = "signin"; - if (C\AUTHENTICATION_MODE == C\NORMAL_AUTHENTICATION) { - $user_model->addUser($data['USER'], $data['PASSWORD'], - $data['FIRST'], $data['LAST'], $data['EMAIL']); - } else { - $user_model->addUser($data['USER'], '', - $data['FIRST'], $data['LAST'], $data['EMAIL'], - C\ACTIVE_STATUS, $data['PASSWORD']); - } + $user_model->addUser($data['USER'], $data['PASSWORD'], + $data['FIRST'], $data['LAST'], $data['EMAIL']); $data['SCRIPT'] .= "doMessage('<h1 class=\"red\" >". tl('register_controller_account_created')."</h1>')"; break; case 'email_registration': $data['REFRESH'] = "signin"; - if (C\AUTHENTICATION_MODE == C\NORMAL_AUTHENTICATION) { - $user_model->addUser($data['USER'], $data['PASSWORD'], - $data['FIRST'], $data['LAST'], $data['EMAIL'], - C\INACTIVE_STATUS); - } else { - $user_model->addUser($data['USER'], '', - $data['FIRST'], $data['LAST'], $data['EMAIL'], - C\INACTIVE_STATUS, $data['PASSWORD']); - } + $user_model->addUser($data['USER'], $data['PASSWORD'], + $data['FIRST'], $data['LAST'], $data['EMAIL'], + C\INACTIVE_STATUS); $user = $user_model->getUser($data['USER']); $this->sendActivationMail($user, $data); if (C\RECOVERY_MODE == C\EMAIL_AND_QUESTIONS_RECOVERY) { @@ -312,15 +292,9 @@ class RegisterController extends Controller implements CrawlConstants break; case 'admin_activation': $data['REFRESH'] = "signin"; - if (C\AUTHENTICATION_MODE == C\NORMAL_AUTHENTICATION) { - $user_model->addUser($data['USER'], $data['PASSWORD'], - $data['FIRST'], $data['LAST'], $data['EMAIL'], - C\INACTIVE_STATUS); - } else { - $user_model->addUser($data['USER'], '', - $data['FIRST'], $data['LAST'], $data['EMAIL'], - C\INACTIVE_STATUS, $data['PASSWORD']); - } + $user_model->addUser($data['USER'], $data['PASSWORD'], + $data['FIRST'], $data['LAST'], $data['EMAIL'], + C\INACTIVE_STATUS); $data['SCRIPT'] .= "doMessage('<h1 class=\"red\" >". tl('register_controller_account_request_made')."</h1>');"; $server = new MailServer(C\MAIL_SENDER, C\MAIL_SERVER, @@ -822,13 +796,6 @@ class RegisterController extends Controller implements CrawlConstants foreach ($fields as $field) { $data[strtoupper($field)] = ""; } - if (C\AUTHENTICATION_MODE == C\ZKP_AUTHENTICATION) { - $data['AUTHENTICATION_MODE'] = C\ZKP_AUTHENTICATION; - $data['INCLUDE_SCRIPTS'] = ["sha1", "zkp"," big_int", - "register_validator"]; - } else { - $data['AUTHENTICATION_MODE'] = C\NORMAL_AUTHENTICATION; - } if (C\CAPTCHA_MODE == C\HASH_CAPTCHA) { $data['INCLUDE_SCRIPTS'] = array_unique( array_merge($data['INCLUDE_SCRIPTS'], @@ -1142,11 +1109,9 @@ class RegisterController extends Controller implements CrawlConstants } } } - $max_password_len = (C\AUTHENTICATION_MODE == C\ZKP_AUTHENTICATION) ? - C\LONG_NAME_LEN *2 : C\LONG_NAME_LEN; if (isset($_REQUEST['password']) && isset($_REQUEST['repassword']) && - (strlen($_REQUEST['password']) > $max_password_len + (strlen($_REQUEST['password']) > C\LONG_NAME_LEN || $this->clean($_REQUEST['password'], "string" ) != $this->clean($_REQUEST['repassword'], "string" ))) { $error = true; diff --git a/src/controllers/components/AccountaccessComponent.php b/src/controllers/components/AccountaccessComponent.php index bb74d356a..4d213c1e1 100644 --- a/src/controllers/components/AccountaccessComponent.php +++ b/src/controllers/components/AccountaccessComponent.php @@ -108,9 +108,6 @@ class AccountaccessComponent extends Component if ($_REQUEST['edit_pass'] == "true") { $data['EDIT_USER'] = true; $data['EDIT_PASSWORD'] = true; - $data['AUTHENTICATION_MODE'] = C\AUTHENTICATION_MODE; - $data['FIAT_SHAMIR_MODULUS'] = C\FIAT_SHAMIR_MODULUS; - $data['INCLUDE_SCRIPTS'] = ["sha1", "zkp", "big_int"]; } else { $data['EDIT_USER'] = true; } @@ -235,10 +232,7 @@ class AccountaccessComponent extends Component case "updateuser": if (isset($_REQUEST['new_password']) ) { $pass_len = strlen($_REQUEST['new_password']); - if ($pass_len > C\ZKP_PASSWORD_LEN || - (C\AUTHENTICATION_MODE != C\ZKP_AUTHENTICATION && - $pass_len > C\LONG_NAME_LEN - )) { + if ($pass_len > C\LONG_NAME_LEN) { return $parent->redirectWithMessage( tl('accountaccess_component_passwords_too_long'), ["edit", "edit_pass"]); @@ -261,15 +255,9 @@ class AccountaccessComponent extends Component ["edit", "edit_pass"]); } if (isset($data['EDIT_PASSWORD'])) { - if (C\AUTHENTICATION_MODE == C\ZKP_AUTHENTICATION) { - $signin_model->changePasswordZKP($username, - $parent->clean($_REQUEST['new_password'], - "string")); - } else { - $signin_model->changePassword($username, - $parent->clean($_REQUEST['new_password'], - "string")); - } + $signin_model->changePassword($username, + $parent->clean($_REQUEST['new_password'], + "string")); } $user = []; $user['USER_ID'] = $user_id; @@ -371,16 +359,6 @@ class AccountaccessComponent extends Component public function manageUsers() { $parent = $this->parent; - if (C\AUTHENTICATION_MODE == C\ZKP_AUTHENTICATION) { - $_SESSION['SALT_VALUE'] = rand(0, 1); - $_SESSION['AUTH_COUNT'] = 1; - $data['INCLUDE_SCRIPTS'] = ["sha1", "zkp", "big_int"]; - $data['AUTHENTICATION_MODE'] = C\ZKP_AUTHENTICATION; - $data['FIAT_SHAMIR_MODULUS'] = C\FIAT_SHAMIR_MODULUS; - } else { - $data['AUTHENTICATION_MODE'] = C\NORMAL_AUTHENTICATION; - unset($_SESSION['SALT_VALUE']); - } $request_fields = ['start_row', 'num_show', 'end_row', 'visible_roles', 'visible_groups', 'role_filter', 'role_sorts', 'group_filter', 'group_sorts', 'role_limit', 'group_limit', @@ -450,9 +428,7 @@ class AccountaccessComponent extends Component strlen($_REQUEST['new_password']) : 0; switch ($arg) { case "adduser": - if ($pass_len > C\ZKP_PASSWORD_LEN || - (C\AUTHENTICATION_MODE != C\ZKP_AUTHENTICATION && - $pass_len > C\LONG_NAME_LEN )) { + if ($pass_len > C\LONG_NAME_LEN ) { return $parent->redirectWithMessage( tl('accountaccess_component_passwords_too_long'), $request_fields); @@ -474,16 +450,9 @@ class AccountaccessComponent extends Component $_REQUEST['status'] = C\INACTIVE_STATUS; } else { $norm_password = ""; - $zkp_password = ""; - if (C\AUTHENTICATION_MODE == C\ZKP_AUTHENTICATION) { - $zkp_password = - substr($parent->clean($_REQUEST['password'], - "string"), 0, C\ZKP_PASSWORD_LEN); - } else { - $norm_password = - substr($parent->clean($_REQUEST['password'], - "string"), 0, C\LONG_NAME_LEN); - } + $norm_password = + substr($parent->clean($_REQUEST['password'], + "string"), 0, C\LONG_NAME_LEN); $username = trim($username); $user_model->addUser($username, $norm_password, substr(trim($parent->clean($_REQUEST['first_name'], @@ -528,12 +497,6 @@ class AccountaccessComponent extends Component $_REQUEST[$field], "string"); if ($tmp != $user[$upper_field]) { $user[$upper_field] = $tmp; - if (C\AUTHENTICATION_MODE == - C\ZKP_AUTHENTICATION && $upper_field - == "PASSWORD") { - $user["ZKP_PASSWORD"] = $tmp; - $user[$upper_field] =''; - } if (!isset($_REQUEST['change_filter'])) { $update = true; } diff --git a/src/controllers/components/SystemComponent.php b/src/controllers/components/SystemComponent.php index bd47eff5a..79d2b447d 100755 --- a/src/controllers/components/SystemComponent.php +++ b/src/controllers/components/SystemComponent.php @@ -855,20 +855,6 @@ EOD; C\EMAIL_AND_QUESTIONS_RECOVERY => tl('system_component_email_questions'), ]; - if (C\FIAT_SHAMIR_MODULUS != "") { - $data['AUTHENTICATION_MODES'] = [ - C\NORMAL_AUTHENTICATION => - tl('system_component_normal_authentication'), - C\ZKP_AUTHENTICATION => - tl('system_component_zkp_authentication'), - ]; - } else { - $data['AUTHENTICATION_MODES'] = [ - C\NORMAL_AUTHENTICATION => - tl('system_component_normal_authentication'), - ]; - $data['ZKP_UNAVAILABLE'] = true; - } $data['PRIVACY_MODES'] = [ true => tl('system_component_enable'), @@ -886,8 +872,7 @@ EOD; switch ($_REQUEST['arg']) { case "updatetypes": $change = false; - $mode_fields = ['AUTHENTICATION_MODE', - 'AUTOLOGOUT', 'CAPTCHA_MODE', + $mode_fields = ['AUTOLOGOUT', 'CAPTCHA_MODE', 'DIFFERENTIAL_PRIVACY', 'GROUP_ANALYTICS_MODE', 'RECOVERY_MODE', 'SEARCH_ANALYTICS_MODE']; foreach ($mode_fields as $mode) { @@ -1196,8 +1181,6 @@ EOD; $profile['AUTH_KEY'] = L\crawlHash( $data['WORK_DIRECTORY'].time()); $data['AUTH_KEY'] = $profile['AUTH_KEY']; - $profile['FIAT_SHAMIR_MODULUS'] = - L\generateFiatShamirModulus(); $robot_instance = str_replace(".", "_", $_SERVER['SERVER_NAME'])."-".time(); $profile['ROBOT_INSTANCE'] = $robot_instance; diff --git a/src/library/Utility.php b/src/library/Utility.php index 6d949a3ec..3892d4215 100755 --- a/src/library/Utility.php +++ b/src/library/Utility.php @@ -2238,139 +2238,6 @@ function logLineTimestamp($line) } return 0; } -/** - * This method generates Fiat-Shamir modulus. It uses - * openssl public key method to generate the public key and - * then extract modulus from the public key - * - * @return string $dec string representation of modulus - */ - function generateFiatShamirModulus() - { - $tmp = ""; - if (function_exists("openssl_pkey_new") && - function_exists("openssl_pkey_get_details") && - function_exists("bcmod")) { - $config = [ - "digest_alg" => "sha256", - "public_key_bits" => 1024, - "public_key_type" => OPENSSL_KEYTYPE_RSA, - ]; - $res = openssl_pkey_new($config); - if ($res) { - $pub_key = openssl_pkey_get_details($res); - $tmp = bchexdec(bin2hex($pub_key["rsa"]["n"])); - } - } - if (!$tmp && function_exists("bcmod")) { - $num_bits = 256; - $num_digits = ceil($num_bits * log10(2)); - $p = randProbablyPrime($num_digits); - $q = randProbablyPrime($num_digits); - $tmp = bcmul($p, $q); - } - return $tmp; -} -/** - * Returns a random prime of the given length in decimal - * - * @param int $len length of prime to generate in terms of base 10 digits - * @param int $accuracy the resulting number will be prime with prob - * 1 - 1/2^($accuracy) - * @return string a big prime - */ -function randProbablyPrime($len, $accuracy = 30) -{ - $bound = str_pad("", $len, "9"); - do { - $num = bcrand("0", $bound); - } while(!probablyPrime($num, $accuracy)); - return $num; -} -/** - * Check if a big num is a prime or not - * - * @param string $num big number to check coded as a long string in decimal - * @param int $accuracy the resulting number will be prime with prob - * 1 - 1/2^($accuracy) - * @param bool whether it is prime or not - */ -function probablyPrime($num, $accuracy) -{ - if (bccomp($num, "2") == 0 || bccomp($num, "3") == 0) - return true; - if (bccomp($num, "2") < 0 || bcmod($num, "2") == 0) { - return false; - } - $num_less_one = bcsub($num, 1); - $d = $num_less_one; - $s = 0; - while (bcmod($d, "2") == 0) { - $d = bcdiv($d, "2"); - $s++; - } - for ($i = 0; $i < $accuracy; $i++) { - $a = bcrand("2", $num_less_one); - $x = bcpowmod($a, $d, $num); - if (bccomp($x, "1") == 0 || bccomp($x, $num_less_one) == 0) { - continue; - } - for ($j = 1; $j < $s; $j++) { - $x = bcmod(bcmul($x, $x), $num); - if (bccomp($x, "1") == 0) - return false; - if (bccomp($x, $num_less_one) == 0) - continue 2; - } - return false; - } - return true; -} -/** - * Generates a random big number between the two big number $low and $high - * - * @param string $low a decimal coded big num lower bounding the desired - * range (inclusive) - * @param string $high a decimal coded big num upper bounding the desired - * range (exclusive) - */ -function bcrand($low, $high) -{ - $range = bcsub($high, $low); - if (bccomp($range, "0") <= 0) { - return "0"; - } - $len = strlen($range); - if (function_exists("openssl_random_pseudo_bytes")) { - $tmp = openssl_random_pseudo_bytes($len); - $tmp = bchexdec(bin2hex($tmp)); - } else { - $tmp = ""; - for ($i = 0; $i < $len; $i++) { - $tmp .= mt_rand(0, 9); - } - } - $rand_in_range = bcmod($tmp, $range); - $out = bcadd($rand_in_range, $low); - return $out; -} -/** - * Convert hexadecimal number to decimal using BC math PHP - * library. It is used to convert very large hex value to decimal value - * - * @param string $hex hexadecimal number - * @return string $dec string representation of decimal number - */ -function bchexdec($hex) -{ - $dec = 0; - $len = strlen($hex); - for ($i = 1; $i <= $len; $i++) { - $dec = bcadd($dec, bcmul(strval(hexdec($hex[$i - 1])), - bcpow('16', strval($len - $i)))); - } - return $dec; -} /** * Returns whether an input can be parsed to a positive integer * diff --git a/src/library/VersionFunctions.php b/src/library/VersionFunctions.php index 165af810b..09c897016 100644 --- a/src/library/VersionFunctions.php +++ b/src/library/VersionFunctions.php @@ -481,8 +481,6 @@ function upgradeDatabaseVersion20(&$db) $creation_time = microTimestamp(); $profile = $profile_model->getProfile(C\WORK_DIRECTORY); $new_profile = $profile; - $new_profile['AUTHENTICATION_MODE'] = C\NORMAL_AUTHENTICATION; - $new_profile['FIAT_SHAMIR_MODULUS'] = generateFiatShamirModulus(); $new_profile['MAIL_SERVER']= ""; $new_profile['MAIL_PORT']= ""; $new_profile['MAIL_USERNAME']= ""; @@ -496,9 +494,6 @@ function upgradeDatabaseVersion20(&$db) //get current users //(assume can fit in memory and doesn't take long) $users = []; - $sha1_of_upgrade_code = bchexdec(sha1($v20check)); - $temp = bcpow($sha1_of_upgrade_code . '', '2'); - $zkp_password = bcmod($temp, $new_profile['FIAT_SHAMIR_MODULUS']); $user_tables_sql = ["SELECT USER_NAME FROM USER", "SELECT USER_NAME, FIRST_NAME, LAST_NAME, EMAIL FROM USERS"]; $i = 0; @@ -518,15 +513,11 @@ function upgradeDatabaseVersion20(&$db) $users[$i]["EMAIL"] = (isset($users[$i]["EMAIL"])) ? $users[$i]["EMAIL"] : "user$i@dev.null"; - /* although not by default using zkp set up so - accounts would work on switch - */ $users[$i]["PASSWORD"] = $v20check; $users[$i]["STATUS"] = C\INACTIVE_STATUS; $users[$i]["CREATION_TIME"] = $creation_time; $users[$i]["UPS"] = 0; $users[$i]["DOWNS"] = 0; - $users[$i]["ZKP_PASSWORD"] = $zkp_password; $i++; } unset($users[$i]); @@ -554,13 +545,11 @@ function upgradeDatabaseVersion20(&$db) foreach ($users as $user) { $user_model->addUser($user["USER_NAME"], $user["PASSWORD"], $user["FIRST_NAME"], $user["LAST_NAME"], - $user["EMAIL"], $user["STATUS"], - $user["ZKP_PASSWORD"]); + $user["EMAIL"], $user["STATUS"]); } $user = []; $user['USER_ID'] = C\ROOT_ID; $user['PASSWORD'] = $v20check; - $user["ZKP_PASSWORD"] = $zkp_password; $user_model->updateUser($user); $db->execute("DELETE FROM VERSION WHERE ID < 19"); $db->execute("UPDATE VERSION SET ID=20 WHERE ID=19"); @@ -586,7 +575,8 @@ function upgradeDatabaseVersion20(&$db) <link rel="stylesheet" type="text/css" href="<?= C\BASE_URL ?>/css/search.css" /> </head> - <body class="html-ltr <?php if ($_SERVER["MOBILE"]) {e('mobile'); } ?>" > + <body class="html-ltr <?php if ($_SERVER["MOBILE"]) {e('mobile'); } + ?>" > <div id="message" ></div> <div class='small-margin-current-activity'> <h1 class='center green'>Yioop Upgrade Detected!</h1> @@ -1635,13 +1625,12 @@ function upgradeDatabaseVersion57(&$db) HASH VARCHAR(" . C\LONG_NAME_LEN . "), CREATION_TIME VARCHAR(" . C\MICROSECOND_TIMESTAMP_LEN . "), UPS INTEGER DEFAULT 0, - DOWNS INTEGER DEFAULT 0, ZKP_PASSWORD CHAR(" . - C\ZKP_PASSWORD_LEN . "))"); + DOWNS INTEGER DEFAULT 0)"); $db->execute("INSERT INTO USERS (USER_ID, FIRST_NAME, LAST_NAME, USER_NAME, EMAIL, PASSWORD, STATUS, HASH, CREATION_TIME, UPS, - DOWNS, ZKP_PASSWORD) + DOWNS) SELECT USER_ID, FIRST_NAME, LAST_NAME, USER_NAME, EMAIL, PASSWORD, - STATUS, HASH, CREATION_TIME, UPS, DOWNS, ZKP_PASSWORD + STATUS, HASH, CREATION_TIME, UPS, DOWNS FROM USERS_OLD"); } else { // only one of these should do anything @@ -1779,7 +1768,7 @@ function upgradeDatabaseVersion62(&$db) )"); } /** - * Upgrades a Version 64 version of the Yioop database to a Version 63 version + * Upgrades a Version 63 version of the Yioop database to a Version 64 version * @param object $db datasource to use to upgrade. */ function upgradeDatabaseVersion64(&$db) @@ -1790,7 +1779,7 @@ function upgradeDatabaseVersion64(&$db) FUZZY_NUM_VIEWS INTEGER DEFAULT -1)"); } /** - * Upgrades a Version 65 version of the Yioop database to a Version 64 version + * Upgrades a Version 64 version of the Yioop database to a Version 65 version * @param object $db datasource to use to upgrade. */ function upgradeDatabaseVersion65(&$db) @@ -1831,7 +1820,7 @@ EOD; } } /** - * Upgrades a Version 66 version of the Yioop database to a Version 65 version + * Upgrades a Version 65 version of the Yioop database to a Version 66 version * @param object $db datasource to use to upgrade. */ function upgradeDatabaseVersion66(&$db) @@ -1840,7 +1829,7 @@ function upgradeDatabaseVersion66(&$db) C\TITLE_LEN . ") DEFAULT ''"); } /** - * Upgrades a Version 67 version of the Yioop database to a Version 66 version + * Upgrades a Version 66 version of the Yioop database to a Version 67 version * @param object $db datasource to use to upgrade. */ function upgradeDatabaseVersion67(&$db) @@ -1851,7 +1840,7 @@ function upgradeDatabaseVersion67(&$db) "DEFAULT_QUERY VARCHAR(" . C\TITLE_LEN . ") DEFAULT ''"); } /** - * Upgrades a Version 68 version of the Yioop database to a Version 67 version + * Upgrades a Version 67 version of the Yioop database to a Version 68 version * @param object $db datasource to use to upgrade. */ function upgradeDatabaseVersion68(&$db) @@ -1868,3 +1857,29 @@ function upgradeDatabaseVersion68(&$db) $db->unlinkRecursive(C\WORK_DIRECTORY . "/feeds"); } } + +/** + * Upgrades a Version 68 version of the Yioop database to a Version 69 version + * @param object $db datasource to use to upgrade. + */ +function upgradeDatabaseVersion69(&$db) +{ + $dbinfo = ["DBMS" => C\DBMS, "DB_HOST" => C\DB_HOST, + "DB_NAME" => C\DB_NAME, "DB_PASSWORD" => C\DB_PASSWORD]; + $auto_increment = $db->autoIncrement($dbinfo); + $serial = $db->serialType($dbinfo); + $db->execute("ALTER TABLE USERS RENAME TO USERS_OLD"); + $db->execute("CREATE TABLE USERS(USER_ID $serial PRIMARY KEY + $auto_increment, FIRST_NAME VARCHAR(" . C\NAME_LEN."), + LAST_NAME VARCHAR(" . C\NAME_LEN . "), USER_NAME VARCHAR(" . + C\NAME_LEN .") UNIQUE, EMAIL VARCHAR(" . C\LONG_NAME_LEN . "), + PASSWORD VARCHAR(" . C\LONG_NAME_LEN . "), STATUS INTEGER, + HASH VARCHAR(" . C\LONG_NAME_LEN . "), + CREATION_TIME VARCHAR(" . C\MICROSECOND_TIMESTAMP_LEN . + "), UPS INTEGER DEFAULT 0, DOWNS INTEGER DEFAULT 0)"); + $db->execute("INSERT INTO USERS (USER_ID, FIRST_NAME, LAST_NAME, + USER_NAME, EMAIL, PASSWORD, STATUS, HASH, CREATION_TIME, UPS, DOWNS) + SELECT USER_ID, FIRST_NAME, LAST_NAME, USER_NAME, EMAIL, PASSWORD, + STATUS, HASH, CREATION_TIME, UPS, DOWNS + FROM USERS_OLD"); +} diff --git a/src/locale/ar/configure.ini b/src/locale/ar/configure.ini index 86b47b675..d67aac048 100755 --- a/src/locale/ar/configure.ini +++ b/src/locale/ar/configure.ini @@ -33,7 +33,6 @@ translate_service = "Some translations Powered by Yandex.translate (http://trans admin_controller_need_cookies = "ملفات تعريف الارتباط الحاجة إلى تسجيل الدخول!!" admin_controller_account_not_active = "حساب غير نشط. ربما طلب إعادة تعيين كلمة المرور?" admin_controller_login_successful = "تسجيل الدخول الناجحة!!" -admin_controller_no_back_button = "لا يوجد زر الخلف أثناء تسجيل الدخول!" admin_controller_login_failed = "اسم المستخدم أو كلمة المرور غير صحيحة!" admin_controller_login_to_config = "تسجيل الدخول لمتابعه التكوين (الافتراضي: u = root ، p =)" admin_controller_status_updates_stopped = "توقفت عن تحديثات الحالة." @@ -613,8 +612,6 @@ system_component_image_captcha = "صورة Captcha" system_component_no_recovery = "لا المستخدم كلمة السر الانتعاش الرابط" system_component_email_recovery = "البريد الإلكتروني رابط استعادة كلمة المرور" system_component_email_questions = "وصلة البريد الإلكتروني والتحقق من الأسئلة الانتعاش" -system_component_normal_authentication = "عادي المصادقة" -system_component_zkp_authentication = "ZKP المصادقة" system_component_enable = "تمكين" system_component_disable = "تعطيل" system_component_settings_updated = "إعدادات تحديث!" @@ -772,8 +769,6 @@ register_view_return = "العودة إلى Yioop" ; ; SigninView.php signin_view_signin = "تسجيل الدخول" -signin_view_signing_in = "تسجيل الدخول" -signin_view_login_failed = "فشل تسجيل الدخول!" signin_view_username = "اسم المستخدم" signin_view_password = "كلمة المرور" signin_view_login = "تسجيل الدخول" @@ -1224,10 +1219,8 @@ searchsources_element_defaultquery = "الاستعلام الافتراضي:" searchsources_element_search = "البحث" ; ; SecurityElement.php -security_element_auth_captcha = "مصادقة, الوصول, الخصوصية, Captcha, و الانتعاش" -security_element_auth_and_access = "المصادقة الوصول" -security_element_authentication_type = "نوع المصادقة:" -security_element_zero_unavailable = "صفر المعرفة المصادقة يحتاج بينسل أو قبل الميلاد الرياضيات!" +security_element_session_captcha = "" +security_element_session = "" security_element_site_timezone = "التوقيت:" security_element_token_name = "رمزية اسم:" security_element_session_name = "اسم الدورة:" diff --git a/src/locale/bn/configure.ini b/src/locale/bn/configure.ini index 4cd9b5d68..fbbd86d7d 100755 --- a/src/locale/bn/configure.ini +++ b/src/locale/bn/configure.ini @@ -33,7 +33,6 @@ translate_service = "Some translations Powered by Yandex.translate (http://trans admin_controller_need_cookies = "কুকিজ প্রয়োজন লগইন করতে!!" admin_controller_account_not_active = "অ্যাকাউন্ট সক্রিয় না. হয়তো অনুরোধ পাসওয়ার্ড রিসেট?" admin_controller_login_successful = "লগইন সফল!!" -admin_controller_no_back_button = "কোন ব্যাক বোতাম সময় প্রবেশ করুন!" admin_controller_login_failed = "ব্যবহারকারীর নাম বা পাসওয়ার্ড ভুল!" admin_controller_login_to_config = "লগইন অব্যাহত রাখার জন্য কনফিগারেশন (ডিফল্ট: u=root p=)" admin_controller_status_updates_stopped = "স্ট্যাটাস আপডেট বন্ধ আছে." @@ -613,8 +612,6 @@ system_component_image_captcha = "ইমেজ ক্যাপচা" system_component_no_recovery = "কোন ব্যবহারকারী পাসওয়ার্ড পুনরুদ্ধার লিঙ্ক" system_component_email_recovery = "ইমেইল লিঙ্ক পাসওয়ার্ড পুনরুদ্ধার" system_component_email_questions = "ইমেইল লিঙ্ক এবং পরীক্ষা প্রশ্ন পুনরুদ্ধারের" -system_component_normal_authentication = "স্বাভাবিক প্রমাণীকরণ" -system_component_zkp_authentication = "ZKP প্রমাণীকরণ" system_component_enable = "সক্রিয়" system_component_disable = "নিষ্ক্রিয়" system_component_settings_updated = "সেটিংস আপডেট করা হয়েছে!" @@ -772,8 +769,6 @@ register_view_return = "ফিরে Yioop" ; ; SigninView.php signin_view_signin = "সাইন ইন" -signin_view_signing_in = "লগিং" -signin_view_login_failed = "লগইন ব্যর্থ হয়েছে!" signin_view_username = "ব্যবহারকারীর নাম" signin_view_password = "পাসওয়ার্ড" signin_view_login = "লগইন" @@ -1224,10 +1219,8 @@ searchsources_element_defaultquery = "ডিফল্ট ক্যোয়া searchsources_element_search = "অনুসন্ধান" ; ; SecurityElement.php -security_element_auth_captcha = "প্রমাণীকরণ, অ্যাক্সেস, গোপনীয়তা, ক্যাপচা, এবং পুনরুদ্ধারের" -security_element_auth_and_access = "প্রমাণীকরণ এবং এক্সেস" -security_element_authentication_type = "প্রমাণীকরণ টাইপ:" -security_element_zero_unavailable = "শূন্য জ্ঞান প্রমাণীকরণ প্রয়োজন দ্বারা OpenSSL বা বিসি গণিত!" +security_element_session_captcha = "" +security_element_session = "" security_element_site_timezone = "সময় অঞ্চল:" security_element_token_name = "টোকেন নাম:" security_element_session_name = "অধিবেশন নাম:" diff --git a/src/locale/de/configure.ini b/src/locale/de/configure.ini index 5a452807f..aaa4f9324 100755 --- a/src/locale/de/configure.ini +++ b/src/locale/de/configure.ini @@ -33,7 +33,6 @@ translate_service = "Some translations Powered by Yandex.translate (http://trans admin_controller_need_cookies = "Cookies nötig, um login!!" admin_controller_account_not_active = "Konto nicht aktiv ist. Vielleicht Kennwortzurücksetzung anfordern?" admin_controller_login_successful = "Login Erfolgreich!!" -admin_controller_no_back_button = "Keine Zurück-Taste Bei Der Anmeldung!" admin_controller_login_failed = "Benutzername oder Passwort Falsch!" admin_controller_login_to_config = "Einloggen, um die Konfiguration fortzusetzen (default: u=root, p=)" admin_controller_status_updates_stopped = "Status-updates aufgehört haben." @@ -613,8 +612,6 @@ system_component_image_captcha = "Bild Captcha" system_component_no_recovery = "Kein Benutzer-Passwort-Recovery-Link" system_component_email_recovery = "E-Mail-Link Password Recovery" system_component_email_questions = "E-Mail-Link und Überprüfen Fragen Erholung" -system_component_normal_authentication = "Die Normale Authentifizierung" -system_component_zkp_authentication = "ZKP-Authentifizierung" system_component_enable = "Aktivieren" system_component_disable = "Deaktivieren" system_component_settings_updated = "Einstellungen Aktualisiert!" @@ -772,8 +769,6 @@ register_view_return = "Zurück zu Yioop" ; ; SigninView.php signin_view_signin = "Signin" -signin_view_signing_in = "Anmeldung" -signin_view_login_failed = "Login Fehlgeschlagen!" signin_view_username = "Benutzername" signin_view_password = "Passwort" signin_view_login = "Login" @@ -1224,10 +1219,8 @@ searchsources_element_defaultquery = "Standard-Abfrage -:" searchsources_element_search = "Suche" ; ; SecurityElement.php -security_element_auth_captcha = "Auth, Zugriff, Datenschutz, Captcha und Erholung" -security_element_auth_and_access = "Authentifizierung und Zugriff" -security_element_authentication_type = "Authentifizierungstyp:" -security_element_zero_unavailable = "Zero-Knowledge-Authentifizierung Muss OpenSSL oder BC Math!" +security_element_session_captcha = "" +security_element_session = "" security_element_site_timezone = "Timezone:" security_element_token_name = "Token-Name:" security_element_session_name = "Session Name:" diff --git a/src/locale/en_US/configure.ini b/src/locale/en_US/configure.ini index 6cb03369f..024510253 100644 --- a/src/locale/en_US/configure.ini +++ b/src/locale/en_US/configure.ini @@ -33,7 +33,6 @@ translate_service = "Some translations Powered by Yandex.translate (http://trans admin_controller_need_cookies = "Cookies needed to login!!" admin_controller_account_not_active = "Account not active. Maybe request password reset?" admin_controller_login_successful = "Login Successful!!" -admin_controller_no_back_button = "No Back Button During Login!" admin_controller_login_failed = "Username or Password Incorrect!" admin_controller_login_to_config = "Login to continue configuration (default: u=root, p=)" admin_controller_status_updates_stopped = "Status updates have stopped." @@ -613,8 +612,6 @@ system_component_image_captcha = "Image Captcha" system_component_no_recovery = "No User Password Recovery Link" system_component_email_recovery = "Email Link Password Recovery" system_component_email_questions = "Email Link and Check Questions Recovery" -system_component_normal_authentication = "Normal Authentication" -system_component_zkp_authentication = "ZKP Authentication" system_component_enable = "Enable" system_component_disable = "Disable" system_component_settings_updated = "Settings Updated!" @@ -772,8 +769,6 @@ register_view_return = "Return to Yioop" ; ; SigninView.php signin_view_signin = "Signin" -signin_view_signing_in = "Logging on" -signin_view_login_failed = "Login Failed!" signin_view_username = "Username" signin_view_password = "Password" signin_view_login = "Login" @@ -1224,10 +1219,8 @@ searchsources_element_defaultquery = "Default Query:" searchsources_element_search = "Search" ; ; SecurityElement.php -security_element_auth_captcha = "Auth, Access, Privacy, Captcha, and Recovery" -security_element_auth_and_access = "Authentication and Access" -security_element_authentication_type = "Authentication Type:" -security_element_zero_unavailable = "Zero Knowledge Authentication Needs OpenSSL or BC Math!" +security_element_session_captcha = "Session, Privacy, Captcha, and Recovery" +security_element_session = "Session" security_element_site_timezone = "Timezone:" security_element_token_name = "Token Name:" security_element_session_name = "Session Name:" diff --git a/src/locale/es/configure.ini b/src/locale/es/configure.ini index 0351c6c9e..628fd8c40 100755 --- a/src/locale/es/configure.ini +++ b/src/locale/es/configure.ini @@ -33,7 +33,6 @@ translate_service = "Some translations Powered by Yandex.translate (http://trans admin_controller_need_cookies = "Las Cookies necesarias para el inicio de sesión!!" admin_controller_account_not_active = "La cuenta no está activa. Tal vez la solicitud de restablecimiento de contraseña?" admin_controller_login_successful = "Inicio de sesión con éxito." -admin_controller_no_back_button = "No Hay Botón Atrás Durante El Inicio De Sesión!" admin_controller_login_failed = "El nombre de usuario o la contraseña introducidos no son correctos." admin_controller_login_to_config = "Inicia sesión para continuar con la configuración (default: u=root, p=)" admin_controller_status_updates_stopped = "Las actualizaciones se han detenido." @@ -613,8 +612,6 @@ system_component_image_captcha = "Imagen Captcha" system_component_no_recovery = "No Hay Enlace De Recuperación De Contraseña De Usuario" system_component_email_recovery = "Enlace De Correo Electrónico De Recuperación De Contraseña" system_component_email_questions = "Enlace de correo electrónico y Comprobar Preguntas de Recuperación" -system_component_normal_authentication = "La Autenticación Normal" -system_component_zkp_authentication = "ZKP de Autenticación" system_component_enable = "Habilitar" system_component_disable = "Deshabilitar" system_component_settings_updated = "Configuración Actualizado!" @@ -772,8 +769,6 @@ register_view_return = "Volver a Yioop" ; ; SigninView.php signin_view_signin = "Signin" -signin_view_signing_in = "El registro en" -signin_view_login_failed = "Error De Inicio De Sesión!" signin_view_username = "Nombre de usuario" signin_view_password = "Contraseña" signin_view_login = "Inicio de sesión" @@ -1224,10 +1219,8 @@ searchsources_element_defaultquery = "Consulta Predeterminada:" searchsources_element_search = "Búsqueda" ; ; SecurityElement.php -security_element_auth_captcha = "Auth, el Acceso, la Privacidad, Captcha, y la Recuperación" -security_element_auth_and_access = "La autenticación y el Acceso" -security_element_authentication_type = "Tipo De Autenticación:" -security_element_zero_unavailable = "Cero Conocimiento de Autenticación Necesidades de OpenSSL o BC Matemáticas!" +security_element_session_captcha = "" +security_element_session = "" security_element_site_timezone = "La zona horaria:" security_element_token_name = "Token De Nombre De:" security_element_session_name = "Nombre De La Sesión:" diff --git a/src/locale/fa/configure.ini b/src/locale/fa/configure.ini index 10728d1eb..3ecb208a0 100755 --- a/src/locale/fa/configure.ini +++ b/src/locale/fa/configure.ini @@ -33,7 +33,6 @@ translate_service = "Some translations Powered by Yandex.translate (http://trans admin_controller_need_cookies = "کوکی های مورد نیاز برای ورود به سایت!!" admin_controller_account_not_active = "حساب کاربری فعال نیست. شاید درخواست تنظیم مجدد رمز عبور?" admin_controller_login_successful = "با موفقیت وارد شدید!!" -admin_controller_no_back_button = "هیچ دکمه بازگشت در ورود!" admin_controller_login_failed = "نام کاربری یا رمز عبور اشتباه است!" admin_controller_login_to_config = "برای ادامهٔ تنظیمات وارد شوید (پیش‌فرض: نام کاربری=root و رمز عبور=)" admin_controller_status_updates_stopped = "به روز رسانی وضعیت متوقف شده است." @@ -613,8 +612,6 @@ system_component_image_captcha = "تصویر کد امنیتی" system_component_no_recovery = "هیچ کاربری بازیابی رمز عبور لینک" system_component_email_recovery = "لینک ایمیل بازیابی رمز عبور" system_component_email_questions = "لینک ایمیل و بررسی سوالات بازیابی" -system_component_normal_authentication = "احراز هویت طبیعی" -system_component_zkp_authentication = "ZKP احراز هویت" system_component_enable = "فعال" system_component_disable = "غیر فعال کردن" system_component_settings_updated = "تنظیمات به روز شده!" @@ -772,8 +769,6 @@ register_view_return = "بازگشت به Yioop" ; ; SigninView.php signin_view_signin = "ورود" -signin_view_signing_in = "ورود" -signin_view_login_failed = "ورود ناموفق!" signin_view_username = "نام کاربری" signin_view_password = "رمز عبور" signin_view_login = "ورود" @@ -1224,10 +1219,8 @@ searchsources_element_defaultquery = "به طور پیش فرض پرس و جو:" searchsources_element_search = "جستجو" ; ; SecurityElement.php -security_element_auth_captcha = "تایید دسترسی به حریم امنیتی و بازیابی" -security_element_auth_and_access = "احراز هویت و دسترسی" -security_element_authentication_type = "احراز هویت نوع:" -security_element_zero_unavailable = "دانش صفر احراز هویت نیاز OpenSSL و یا BC ریاضی!" +security_element_session_captcha = "" +security_element_session = "" security_element_site_timezone = "منطقه زمانی:" security_element_token_name = "رمز نام:" security_element_session_name = "جلسه نام و نام خانوادگی:" diff --git a/src/locale/fr_FR/configure.ini b/src/locale/fr_FR/configure.ini index 91fa49ec9..480ebf950 100755 --- a/src/locale/fr_FR/configure.ini +++ b/src/locale/fr_FR/configure.ini @@ -33,7 +33,6 @@ translate_service = "Some translations Powered by Yandex.translate (http://trans admin_controller_need_cookies = "Les cookies nécessaires à la connexion!!" admin_controller_account_not_active = "Le compte n'est pas actif. Peut-être que la demande de réinitialisation de mot de passe?" admin_controller_login_successful = "Déconnexion réussie!" -admin_controller_no_back_button = "Pas de bouton de retour lors de la connexion!" admin_controller_login_failed = "Nom d'utilisateur ou mot de passe incorrect!" admin_controller_login_to_config = "Connexion pour continuer la configuration (par défaut: u=root, p=)" admin_controller_status_updates_stopped = "Mises à jour de statut ont arrêté." @@ -613,8 +612,6 @@ system_component_image_captcha = "Image captcha" system_component_no_recovery = "Pas de lien de récupération de mot de passe utilisateur" system_component_email_recovery = "Email lien de récupération de mot de passe" system_component_email_questions = "Lien e-mail et vérifiez les questions de récupération" -system_component_normal_authentication = "L'authentification normale" -system_component_zkp_authentication = "ZKP authentification" system_component_enable = "Activer" system_component_disable = "Désactiver" system_component_settings_updated = "Les paramètres de mise à jour!" @@ -772,8 +769,6 @@ register_view_return = "Retour" ; ; SigninView.php signin_view_signin = "Connexion" -signin_view_signing_in = "L'enregistrement sur" -signin_view_login_failed = "Échec de la connexion!" signin_view_username = "Utilisateur" signin_view_password = "Mot de passe" signin_view_login = "Se connecter" @@ -1224,10 +1219,8 @@ searchsources_element_defaultquery = "Requête par défaut:" searchsources_element_search = "Recherche" ; ; SecurityElement.php -security_element_auth_captcha = "Auth, l'accès, la confidentialité, captcha, et la récupération" -security_element_auth_and_access = "D'Accès et d'authentification" -security_element_authentication_type = "Type d'authentification:" -security_element_zero_unavailable = "Nulle connaissance de l'authentification besoins OpenSSL ou BC Maths!" +security_element_session_captcha = "" +security_element_session = "" security_element_site_timezone = "Fuseau horaire:" security_element_token_name = "Nom du jeton:" security_element_session_name = "Nom de la session:" diff --git a/src/locale/he/configure.ini b/src/locale/he/configure.ini index 612e211ce..72149a363 100755 --- a/src/locale/he/configure.ini +++ b/src/locale/he/configure.ini @@ -33,7 +33,6 @@ translate_service = "Some translations Powered by Yandex.translate (http://trans admin_controller_need_cookies = "עוגיות צריך להתחבר!!" admin_controller_account_not_active = "חשבון לא פעיל. אולי בקשה לאיפוס סיסמה?" admin_controller_login_successful = "התחברות מוצלחת!!" -admin_controller_no_back_button = "אין כפתור חזרה במהלך כניסה!" admin_controller_login_failed = "סיסמא / שם משתמש אינו נכון" admin_controller_login_to_config = "התחברות כדי להמשיך בקביעת התצורה (ברירת מחדל: u = root, p =)" admin_controller_status_updates_stopped = "עדכוני סטטוס פסקו." @@ -613,8 +612,6 @@ system_component_image_captcha = "תמונת Captcha" system_component_no_recovery = "לא משתמש שחזור סיסמה הקישור" system_component_email_recovery = "דואר אלקטרוני קישור לשחזור הסיסמה" system_component_email_questions = "דואר אלקטרוני קישור ולבדוק שאלות התאוששות" -system_component_normal_authentication = "אימות זהות רגילים" -system_component_zkp_authentication = "ZKP אימות" system_component_enable = "לאפשר" system_component_disable = "השבת" system_component_settings_updated = "הגדרות מעודכנות!" @@ -772,8 +769,6 @@ register_view_return = "לחזור Yioop" ; ; SigninView.php signin_view_signin = "Signin" -signin_view_signing_in = "כניסה" -signin_view_login_failed = "כניסה נכשלה!" signin_view_username = "שם משתמש" signin_view_password = "סיסמא" signin_view_login = "כניסה" @@ -1224,10 +1219,8 @@ searchsources_element_defaultquery = "ברירת המחדל של השאילתה: searchsources_element_search = "חיפוש" ; ; SecurityElement.php -security_element_auth_captcha = "Auth, גישה, פרטיות, Captcha, ושחזור" -security_element_auth_and_access = "אימות וגישה" -security_element_authentication_type = "סוג אימות:" -security_element_zero_unavailable = "אפס ידע אימות צריך OpenSSL או לפנה " ס מתמטיקה!" +security_element_session_captcha = "" +security_element_session = "" security_element_site_timezone = "אזור זמן:" security_element_token_name = "אסימון שם:" security_element_session_name = "שם ההפעלה:" diff --git a/src/locale/hi/configure.ini b/src/locale/hi/configure.ini index 2ba253702..89cf82e25 100755 --- a/src/locale/hi/configure.ini +++ b/src/locale/hi/configure.ini @@ -33,7 +33,6 @@ translate_service = "Some translations Powered by Yandex.translate (http://trans admin_controller_need_cookies = "कुकीज़ की जरूरत के लिए लॉग इन!!" admin_controller_account_not_active = "खाता सक्रिय नहीं है. शायद अनुरोध पासवर्ड रीसेट?" admin_controller_login_successful = "लॉग इन सफल" -admin_controller_no_back_button = "कोई वापस बटन के दौरान प्रवेश के साथ!" admin_controller_login_failed = "लॉग इन असफल" admin_controller_login_to_config = "विन्यास जारी रखने के लिए लॉगिन (डिफ़ॉल्ट: उपयोगकर्ता नाम = root, पासवर्ड =)" admin_controller_status_updates_stopped = "स्थिति अद्यतन बंद कर दिया है." @@ -613,8 +612,6 @@ system_component_image_captcha = "छवि कैप्चा" system_component_no_recovery = "कोई उपयोगकर्ता पासवर्ड वसूली लिंक" system_component_email_recovery = "ईमेल लिंक पासवर्ड वसूली" system_component_email_questions = "ईमेल लिंक की जाँच करें और सवाल वसूली" -system_component_normal_authentication = "सामान्य प्रमाणीकरण" -system_component_zkp_authentication = "ZKP प्रमाणीकरण" system_component_enable = "सक्षम करें" system_component_disable = "अक्षम" system_component_settings_updated = "सेटिंग्स अद्यतन!" @@ -772,8 +769,6 @@ register_view_return = "वापसी के लिए Yioop" ; ; SigninView.php signin_view_signin = "साइन इन" -signin_view_signing_in = "प्रवेश करने पर" -signin_view_login_failed = "लॉग इन विफल रहा!" signin_view_username = "उपयोगकर्ता का नाम" signin_view_password = "पासवर्ड" signin_view_login = "लॉग इन करें" @@ -1224,10 +1219,8 @@ searchsources_element_defaultquery = "डिफ़ॉल्ट क्वेर searchsources_element_search = "खोज" ; ; SecurityElement.php -security_element_auth_captcha = "Auth, उपयोग, गोपनीयता, कैप्चा, और वसूली" -security_element_auth_and_access = "प्रमाणीकरण और पहुँच" -security_element_authentication_type = "प्रमाणीकरण के प्रकार:" -security_element_zero_unavailable = "शून्य ज्ञान के प्रमाणीकरण की जरूरत ओपनएसएसएल या ई. पू गणित!" +security_element_session_captcha = "" +security_element_session = "" security_element_site_timezone = "समय क्षेत्र:" security_element_token_name = "टोकन का नाम:" security_element_session_name = "सत्र का नाम:" diff --git a/src/locale/id/configure.ini b/src/locale/id/configure.ini index 453cc7324..fb95a83ea 100755 --- a/src/locale/id/configure.ini +++ b/src/locale/id/configure.ini @@ -33,7 +33,6 @@ translate_service = "Some translations Powered by Yandex.translate (http://trans admin_controller_need_cookies = "Cookies yang diperlukan untuk login!!" admin_controller_account_not_active = "Akun tidak aktif. Mungkin permintaan reset password?" admin_controller_login_successful = "Login berhasil" -admin_controller_no_back_button = "Tidak Ada Tombol Kembali Pada Saat Login!" admin_controller_login_failed = "Login tidak berhasil" admin_controller_login_to_config = "Login untuk melanjutkan konfigurasi (default: username = root, password =)" admin_controller_status_updates_stopped = "Update Status telah berhenti." @@ -613,8 +612,6 @@ system_component_image_captcha = "Gambar Captcha" system_component_no_recovery = "Tidak Ada User Password Recovery Link" system_component_email_recovery = "Link Email Password Recovery" system_component_email_questions = "Link Email dan Memeriksa Pertanyaan Pemulihan" -system_component_normal_authentication = "Otentikasi Normal" -system_component_zkp_authentication = "ZKP Otentikasi" system_component_enable = "Mengaktifkan" system_component_disable = "Menonaktifkan" system_component_settings_updated = "Pengaturan Diperbarui!" @@ -772,8 +769,6 @@ register_view_return = "Kembali ke Yioop" ; ; SigninView.php signin_view_signin = "Signin" -signin_view_signing_in = "Log on" -signin_view_login_failed = "Login Gagal!" signin_view_username = "Username" signin_view_password = "Kata sandi" signin_view_login = "Login" @@ -1224,10 +1219,8 @@ searchsources_element_defaultquery = "Default Query:" searchsources_element_search = "Pencarian" ; ; SecurityElement.php -security_element_auth_captcha = "Auth, Akses, Privasi, Captcha, dan Pemulihan" -security_element_auth_and_access = "Otentikasi dan Akses" -security_element_authentication_type = "Jenis Otentikasi:" -security_element_zero_unavailable = "Nol Pengetahuan Otentikasi Kebutuhan OpenSSL atau BC Matematika!" +security_element_session_captcha = "" +security_element_session = "" security_element_site_timezone = "Timezone:" security_element_token_name = "Token Nama:" security_element_session_name = "Nama Sesi:" diff --git a/src/locale/it/configure.ini b/src/locale/it/configure.ini index 4bfdaaec3..dc38a6327 100755 --- a/src/locale/it/configure.ini +++ b/src/locale/it/configure.ini @@ -33,7 +33,6 @@ translate_service = "Some translations Powered by Yandex.translate (http://trans admin_controller_need_cookies = "I Cookies necessari per effettuare il login!!" admin_controller_account_not_active = "Account non è attivo. Forse la richiesta di reimpostazione della password?" admin_controller_login_successful = "Accesso effettuato!!" -admin_controller_no_back_button = "Nessun Pulsante Indietro Durante Il Login!" admin_controller_login_failed = "Utente o Password non corretto!" admin_controller_login_to_config = "Accedi per continuare la configurazione (utente=root; nessuna password)" admin_controller_status_updates_stopped = "Aggiornamenti stato interrotti." @@ -613,8 +612,6 @@ system_component_image_captcha = "Immagine Captcha" system_component_no_recovery = "Nessun Utente Password Recovery Link" system_component_email_recovery = "Link Dell'E-Mail Di Recupero Password" system_component_email_questions = "E-mail Link e Controllare le Domande di Recupero" -system_component_normal_authentication = "L'Autenticazione Normale" -system_component_zkp_authentication = "ZKP di Autenticazione" system_component_enable = "Attivare" system_component_disable = "Disattivare" system_component_settings_updated = "Aggiornate Le Impostazioni!" @@ -772,8 +769,6 @@ register_view_return = "Ritorno a Yioop" ; ; SigninView.php signin_view_signin = "Accedi" -signin_view_signing_in = "La registrazione" -signin_view_login_failed = "Accesso Non Riuscito!" signin_view_username = "Utente" signin_view_password = "Password" signin_view_login = "Accedi" @@ -1224,10 +1219,8 @@ searchsources_element_defaultquery = "Query Predefinita:" searchsources_element_search = "Ricerca" ; ; SecurityElement.php -security_element_auth_captcha = "Auth, Accesso, Privacy, Captcha, e il Recupero" -security_element_auth_and_access = "Di autenticazione e di Accesso" -security_element_authentication_type = "Tipo Di Autenticazione:" -security_element_zero_unavailable = "Zero Conoscenza di Autenticazione ha Bisogno di OpenSSL o BC Matematica!" +security_element_session_captcha = "" +security_element_session = "" security_element_site_timezone = "Fuso orario:" security_element_token_name = "Nome Del Token:" security_element_session_name = "Nome Di Sessione:" diff --git a/src/locale/ja/configure.ini b/src/locale/ja/configure.ini index f55f1412b..e9ff3bd32 100755 --- a/src/locale/ja/configure.ini +++ b/src/locale/ja/configure.ini @@ -33,7 +33,6 @@ translate_service = "Some translations Powered by Yandex.translate (http://trans admin_controller_need_cookies = "クッキーに必要なログイン!!" admin_controller_account_not_active = "口座います。 その要求にパスワードをリセット?" admin_controller_login_successful = "ログイン成功" -admin_controller_no_back_button = "ていない時のボタンのログイン!" admin_controller_login_failed = "無効なユーザー名またはパスワード" admin_controller_login_to_config = "ログインして設定を続行します (デフォルト: ユーザー名=root、パスワード=)" admin_controller_status_updates_stopped = "状況を更新して停止します。" @@ -613,8 +612,6 @@ system_component_image_captcha = "画像酔" system_component_no_recovery = "ないユーザーのパスワード回復のリンク" system_component_email_recovery = "メールのリンクはパスワード回復" system_component_email_questions = "メールのリンクにチェックの質問の回復" -system_component_normal_authentication = "通常の認証" -system_component_zkp_authentication = "ZKP認証" system_component_enable = "能" system_component_disable = "無効化" system_component_settings_updated = "設定の商品が紹介されました。" @@ -772,8 +769,6 @@ register_view_return = "戻Yioop" ; ; SigninView.php signin_view_signin = "サインイン" -signin_view_signing_in = "ログイン" -signin_view_login_failed = "ログインに失敗した!" signin_view_username = "ユーザー名" signin_view_password = "パスワード" signin_view_login = "ログイン" @@ -1224,10 +1219,8 @@ searchsources_element_defaultquery = "デフォルト:クエリを" searchsources_element_search = "検索" ; ; SecurityElement.php -security_element_auth_captcha = "Auth、アクセス、プライバシー"と、回復" -security_element_auth_and_access = "認証およびアクセス" -security_element_authentication_type = "認証タイプ:" -security_element_zero_unavailable = "ゼロ知識証のニーズOpenSSLやBC数学!" +security_element_session_captcha = "" +security_element_session = "" security_element_site_timezone = "タイムゾーン:" security_element_token_name = "トークン名:" security_element_session_name = "セッション名:" diff --git a/src/locale/kn/configure.ini b/src/locale/kn/configure.ini index a61222c17..f44705ead 100755 --- a/src/locale/kn/configure.ini +++ b/src/locale/kn/configure.ini @@ -33,7 +33,6 @@ translate_service = "Some translations Powered by Yandex.translate (http://trans admin_controller_need_cookies = "ಕುಕೀಸ್ ಅಗತ್ಯವಿದೆ ಲಾಗಿನ್!!" admin_controller_account_not_active = "ಖಾತೆ ಸಕ್ರಿಯವಾಗಿಲ್ಲ. ಬಹುಶಃ ವಿನಂತಿ ಪಾಸ್ವರ್ಡ್ ರೀಸೆಟ್?" admin_controller_login_successful = "ಒಳಪ್ರವೇಶಣೆ ಸಫಲ" -admin_controller_no_back_button = "ಯಾವುದೇ ಬ್ಯಾಕ್ ಬಟನ್ ಸಮಯದಲ್ಲಿ ಲಾಗಿನ್!" admin_controller_login_failed = "ಒಳಪ್ರವೇಶಣೆ ವಿಫಲ, ಬಳಕೆದಾರನ ಹೆಸರು ಅಥವಾ ಪ್ರವೇಶ ಪದ ತಪ್ಪಾಗಿದೆ " admin_controller_login_to_config = "ಲಾಗಿನ್ ಮುಂದುವರಿಸಲು ಸಂರಚನಾ (ಡೀಫಾಲ್ಟ್: ಬಳಕೆದಾರಹೆಸರು=root , ಪಾಸ್ವರ್ಡ್=)" admin_controller_status_updates_stopped = "ಸ್ಥಿತಿ ನವೀಕರಣಗಳನ್ನು ನಿಲ್ಲಿಸಿದವು." @@ -613,8 +612,6 @@ system_component_image_captcha = "ಚಿತ್ರ ಕ್ಯಾಪ್ಚಾ" system_component_no_recovery = "ಯಾವುದೇ ಬಳಕೆದಾರ ಪಾಸ್ವರ್ಡ್ ಚೇತರಿಕೆ ಲಿಂಕ್" system_component_email_recovery = "ಇಮೇಲ್ ಲಿಂಕ್ ಪಾಸ್ವರ್ಡ್ ರಿಕವರಿ" system_component_email_questions = "ಇಮೇಲ್ ಲಿಂಕ್ ಪರಿಶೀಲಿಸಿ ಮತ್ತು ಪ್ರಶ್ನೆಗಳನ್ನು ಚೇತರಿಕೆ" -system_component_normal_authentication = "ಸಾಮಾನ್ಯ ದೃಢೀಕರಣ" -system_component_zkp_authentication = "ZKP ದೃಢೀಕರಣ" system_component_enable = "ಸಕ್ರಿಯಗೊಳಿಸಿ" system_component_disable = "ನಿಷ್ಕ್ರಿಯಗೊಳಿಸಿ" system_component_settings_updated = "ಸೆಟ್ಟಿಂಗ್ಗಳನ್ನು ಅಪ್ಡೇಟ್ಗೊಳಿಸಲಾಗಿದೆ!" @@ -772,8 +769,6 @@ register_view_return = "ಮರಳಲು Yioop" ; ; SigninView.php signin_view_signin = "ಒಳಪ್ರವೇಶಿಸಿ" -signin_view_signing_in = "ಮೇಲೆ ಲಾಗಿಂಗ್" -signin_view_login_failed = "ಲಾಗಿನ್ ವಿಫಲವಾಗಿದೆ!" signin_view_username = "ಬಳಕೆದಾರನ ಹೆಸರು" signin_view_password = "ಪ್ರವೇಶ ಪದ" signin_view_login = "ಒಳಪ್ರವೇಶಿಸಿ" @@ -1224,10 +1219,8 @@ searchsources_element_defaultquery = "ಡೀಫಾಲ್ಟ್ ಪ್ರಶ್ searchsources_element_search = "ಹುಡುಕಾಟ" ; ; SecurityElement.php -security_element_auth_captcha = "ದೃಢೀಕರಣ, ಪ್ರವೇಶ, ಗೌಪ್ಯತೆ, ಕ್ಯಾಪ್ಚಾ, ಮತ್ತು ಚೇತರಿಕೆ" -security_element_auth_and_access = "ದೃಢೀಕರಣ ಮತ್ತು ಪ್ರವೇಶ" -security_element_authentication_type = "Authentication Type:" -security_element_zero_unavailable = "ಶೂನ್ಯ ಜ್ಞಾನ ದೃಢೀಕರಣ ಅಗತ್ಯವಿದೆ OpenSSL ಅಥವಾ ಕ್ರಿ. ಪೂ. ಗಣಿತ!" +security_element_session_captcha = "" +security_element_session = "" security_element_site_timezone = "ಕಾಲವಲಯ:" security_element_token_name = "ಟೋಕನ್ ಹೆಸರು:" security_element_session_name = "ಅಧಿವೇಶನ ಹೆಸರು:" diff --git a/src/locale/ko/configure.ini b/src/locale/ko/configure.ini index 55f3ce5a6..38a062092 100755 --- a/src/locale/ko/configure.ini +++ b/src/locale/ko/configure.ini @@ -33,7 +33,6 @@ translate_service = "Some translations Powered by Yandex.translate (http://trans admin_controller_need_cookies = "쿠키하는 데 필요한 로그인!!" admin_controller_account_not_active = "계정 활성화되지 않습니다. 어쩌면 요청을 암호를 다시 설정?" admin_controller_login_successful = "로그인 성공!!!" -admin_controller_no_back_button = "아무 버튼을 다시 로그인하는 동안!" admin_controller_login_failed = "로그인 실패!!!" admin_controller_login_to_config = "구성을 계속하려면 로그인(기본값: 사용자 이름=root, 암호=)" admin_controller_status_updates_stopped = "상황 업데이트가 중지되었습니다." @@ -613,8 +612,6 @@ system_component_image_captcha = "이미지 Captcha" system_component_no_recovery = "사용자 비밀번호 복구 링크" system_component_email_recovery = "이메일 링크에 비밀번호 복구" system_component_email_questions = "이메일 링크와 확인 질문이 복구" -system_component_normal_authentication = "정상적인 인증" -system_component_zkp_authentication = "ZKP 인증" system_component_enable = "사" system_component_disable = "사" system_component_settings_updated = "설정을 업데이트!" @@ -772,8 +769,6 @@ register_view_return = "로 돌아 Yioop" ; ; SigninView.php signin_view_signin = "사인인" -signin_view_signing_in = "에 로그온" -signin_view_login_failed = "로그인하지 못했습니다!" signin_view_username = "아이디" signin_view_password = "비밀 번호" signin_view_login = "로그인" @@ -1224,10 +1219,8 @@ searchsources_element_defaultquery = "기본 검색:" searchsources_element_search = "검색" ; ; SecurityElement.php -security_element_auth_captcha = "인증,액세스,개인정보보호,보안 문자,그리고 복구" -security_element_auth_and_access = "인증 및 액세스" -security_element_authentication_type = "인증 유형:" -security_element_zero_unavailable = "영식 인증을 요구 OpenSSL 또는 BC 수 있도록 되어 있습니다." +security_element_session_captcha = "" +security_element_session = "" security_element_site_timezone = "간:" security_element_token_name = "토큰 이름:" security_element_session_name = "세션에 이름:" diff --git a/src/locale/nl/configure.ini b/src/locale/nl/configure.ini index 78f5c0250..b4ed4c611 100644 --- a/src/locale/nl/configure.ini +++ b/src/locale/nl/configure.ini @@ -33,7 +33,6 @@ translate_service = "Some translations Powered by Yandex.translate (http://trans admin_controller_need_cookies = "Cookies die nodig zijn om in te loggen!!" admin_controller_account_not_active = "Account niet actief. Misschien vraag wachtwoord opnieuw in te stellen?" admin_controller_login_successful = "Login Succesvolle!!" -admin_controller_no_back_button = "Geen Back Button Tijdens Inloggen!" admin_controller_login_failed = "Gebruikersnaam of wachtwoord onjuist!" admin_controller_login_to_config = "Login om door te gaan met de configuratie (standaard: username = root, password =)" admin_controller_status_updates_stopped = "Status updates zijn gestopt." @@ -613,8 +612,6 @@ system_component_image_captcha = "Afbeelding Captcha" system_component_no_recovery = "Geen Password Recovery Link" system_component_email_recovery = "E-Mail Link Password Recovery" system_component_email_questions = "E-mail Link en Check Vragen Herstel" -system_component_normal_authentication = "Normale Authenticatie" -system_component_zkp_authentication = "ZKP-Verificatie" system_component_enable = "Inschakelen" system_component_disable = "Uitschakelen" system_component_settings_updated = "Instellingen Bijgewerkt!" @@ -772,8 +769,6 @@ register_view_return = "Terug naar Yioop" ; ; SigninView.php signin_view_signin = "Aanmelden" -signin_view_signing_in = "Aanmelden" -signin_view_login_failed = "Login Mislukt!" signin_view_username = "gebruikersnaam" signin_view_password = "wachtwoord" signin_view_login = "Log In" @@ -1224,10 +1219,8 @@ searchsources_element_defaultquery = "Standaard Query:" searchsources_element_search = "Zoeken" ; ; SecurityElement.php -security_element_auth_captcha = "Authenticatie en Captcha Soorten" -security_element_auth_and_access = "Verificatie en Toegang" -security_element_authentication_type = "Verificatietype" -security_element_zero_unavailable = "BC Math Nnul Kennis Authentication Needs OpenSSL of BC Math!" +security_element_session_captcha = "" +security_element_session = "" security_element_site_timezone = "Tijdzone:" security_element_token_name = "Token Naam:" security_element_session_name = "Sessie Naam:" diff --git a/src/locale/pl/configure.ini b/src/locale/pl/configure.ini index d256c1168..354aac3f6 100755 --- a/src/locale/pl/configure.ini +++ b/src/locale/pl/configure.ini @@ -33,7 +33,6 @@ translate_service = "Some translations Powered by Yandex.translate (http://trans admin_controller_need_cookies = "Pliki cookie są niezbędne do wejścia!!" admin_controller_account_not_active = "Konto nie jest aktywne. Może poprosić o hasło zresetować?" admin_controller_login_successful = "Login Sukces!!" -admin_controller_no_back_button = "Nie Ma Przycisku Do Tyłu Przy Wejściu!" admin_controller_login_failed = "Nazwa użytkownika lub nieprawidłowe hasło!" admin_controller_login_to_config = "Zaloguj się, aby kontynuować konfigurację (domyślnie: username = root, Password =)" admin_controller_status_updates_stopped = "Aktualizacje statusu ustały." @@ -613,8 +612,6 @@ system_component_image_captcha = "Obraz Captcha" system_component_no_recovery = "Nie Link Do Odzyskiwania Hasła " system_component_email_recovery = "E-Mail Link Do Odzyskiwania Hasła " system_component_email_questions = "Wyślij łącze pocztą e-mail i skanowanie pytania odzyskiwania" -system_component_normal_authentication = "Uwierzytelnianie" -system_component_zkp_authentication = "Uwierzytelnianie ЗУП " system_component_enable = "Włączyć" system_component_disable = "Wyłączyć" system_component_settings_updated = "Ustawienia Zostały Zaktualizowane!" @@ -772,8 +769,6 @@ register_view_return = "Powrót do Yioop" ; ; SigninView.php signin_view_signin = "Zalogować się" -signin_view_signing_in = "Wejście" -signin_view_login_failed = "Błąd Logowania!" signin_view_username = "Nazwa użytkownika" signin_view_password = "Hasło" signin_view_login = "Login" @@ -1224,10 +1219,8 @@ searchsources_element_defaultquery = "Ustawieniem Domyślnym:" searchsources_element_search = "Wyszukiwanie" ; ; SecurityElement.php -security_element_auth_captcha = "Autoryzacji, dostępu, prywatności, captcha i odzyskiwania" -security_element_auth_and_access = "Uwierzytelniania i dostępu do" -security_element_authentication_type = "Typ Uwierzytelniania:" -security_element_zero_unavailable = "Uwierzytelniania z zerową znajomością powinien OpenSSL lub p. n. e., matematyka!" +security_element_session_captcha = "" +security_element_session = "" security_element_site_timezone = "Strefa czasowa:" security_element_token_name = "Nazwa Token:" security_element_session_name = "Nazwa Sesji:" diff --git a/src/locale/pt/configure.ini b/src/locale/pt/configure.ini index a5306f7fe..2506ea748 100755 --- a/src/locale/pt/configure.ini +++ b/src/locale/pt/configure.ini @@ -33,7 +33,6 @@ translate_service = "Some translations Powered by Yandex.translate (http://trans admin_controller_need_cookies = "Os Cookies necessário para fazer o login!!" admin_controller_account_not_active = "Conta de ativo. Talvez o pedido de redefinição de senha?" admin_controller_login_successful = "Início De Sessão Bem-Sucedida!!" -admin_controller_no_back_button = "Nenhum Botão Voltar Durante O Início De Sessão!" admin_controller_login_failed = "Nome de usuário ou Senha Incorretos!" admin_controller_login_to_config = "Login para continuar a configuração (padrão: nome de usuário=root , senha=)" admin_controller_status_updates_stopped = "Atualizações de Status de ter parado." @@ -613,8 +612,6 @@ system_component_image_captcha = "Imagem Captcha" system_component_no_recovery = "Nenhum Utilizador Palavra-Passe De Recuperação Link" system_component_email_recovery = "Link De E-Mail De Recuperação De Senha" system_component_email_questions = "Link de e-mail e Verifique Perguntas de Recuperação" -system_component_normal_authentication = "A Autenticação Normal" -system_component_zkp_authentication = "ZKP Autenticação" system_component_enable = "Activar" system_component_disable = "Desativar" system_component_settings_updated = "Configurações Atualizadas!" @@ -772,8 +769,6 @@ register_view_return = "Voltar para Yioop" ; ; SigninView.php signin_view_signin = "Signin" -signin_view_signing_in = "O registo em" -signin_view_login_failed = "Falhou O Início De Sessão!" signin_view_username = "Nome de usuário" signin_view_password = "Palavra-passe" signin_view_login = "Login" @@ -1224,10 +1219,8 @@ searchsources_element_defaultquery = "Padrão De Consulta:" searchsources_element_search = "Procura" ; ; SecurityElement.php -security_element_auth_captcha = "Auth, de Acesso, Privacidade, Captcha, e Recuperação" -security_element_auth_and_access = "De Acesso e autenticação" -security_element_authentication_type = "Tipo De Autenticação:" -security_element_zero_unavailable = "Conhecimento Zero de Autenticação Necessidades OpenSSL ou BC Matemática!" +security_element_session_captcha = "" +security_element_session = "" security_element_site_timezone = "Fuso horário:" security_element_token_name = "Nome De Token:" security_element_session_name = "Nome Da Sessão:" diff --git a/src/locale/ru/configure.ini b/src/locale/ru/configure.ini index 83da88299..ec9a7be10 100755 --- a/src/locale/ru/configure.ini +++ b/src/locale/ru/configure.ini @@ -33,7 +33,6 @@ translate_service = "Some translations Powered by Yandex.translate (http://trans admin_controller_need_cookies = "Файлы cookie необходимы для входа!!" admin_controller_account_not_active = "Учетная запись не активна. Может быть, запросить пароль сбросить?" admin_controller_login_successful = "Логин Успешным!!" -admin_controller_no_back_button = "Нет Кнопки Назад При Входе!" admin_controller_login_failed = "Имя пользователя или неверный пароль!" admin_controller_login_to_config = "Логин для продолжения настройки (по умолчанию: U=root Р=)" admin_controller_status_updates_stopped = "Обновления статуса прекратились." @@ -613,8 +612,6 @@ system_component_image_captcha = "Изображения Капчи" system_component_no_recovery = "Нет Ссылка Для Восстановления Пароля " system_component_email_recovery = "Электронную Почту Ссылку Для Восстановления Пароля " system_component_email_questions = "Отправить ссылку по электронной почте и проверить вопросы восстановления" -system_component_normal_authentication = "Обычная Проверка Подлинности" -system_component_zkp_authentication = "Проверка подлинности ЗУП " system_component_enable = "Включить" system_component_disable = "Отключить" system_component_settings_updated = "Настройки Обновлены!" @@ -772,8 +769,6 @@ register_view_return = "Вернуться к Yioop" ; ; SigninView.php signin_view_signin = "Авторизоваться" -signin_view_signing_in = "Вход" -signin_view_login_failed = "Ошибка Входа!" signin_view_username = "Имя пользователя" signin_view_password = "Пароль" signin_view_login = "Логин" @@ -1224,10 +1219,8 @@ searchsources_element_defaultquery = "Запрос По Умолчанию:" searchsources_element_search = "Поиск" ; ; SecurityElement.php -security_element_auth_captcha = "Авторизации, доступа, конфиденциальности, капчу и восстановления" -security_element_auth_and_access = "Проверки подлинности и доступа к" -security_element_authentication_type = "Тип Проверки Подлинности:" -security_element_zero_unavailable = "Аутентификации с нулевым знанием должен OpenSSL или до н. э. математика!" +security_element_session_captcha = "" +security_element_session = "" security_element_site_timezone = "Часовой пояс:" security_element_token_name = "Имя Токена:" security_element_session_name = "Название Сессии:" diff --git a/src/locale/te/configure.ini b/src/locale/te/configure.ini index ed8d363e0..178461dc2 100644 --- a/src/locale/te/configure.ini +++ b/src/locale/te/configure.ini @@ -33,7 +33,6 @@ translate_service = "Some translations Powered by Yandex.translate (http://trans admin_controller_need_cookies = "లాగిన్ అవడానికి కుకీలు అవసరము!!" admin_controller_account_not_active = "ఖాతా ఆక్టివ్ గా లేదు. పాస్‌వర్డ్ రీసెట్ చెయ్యమని అడగవచ్చు " admin_controller_login_successful = "లాగిన్ విజయవంతం" -admin_controller_no_back_button = "లాగిన్ అయ్యేటప్పుడు బ్యాక్ బటన్ నోక్కకూడదు!" admin_controller_login_failed = "యూజర్ పేరు లేదా పాస్‌వర్డ్ సరి లేదు!" admin_controller_login_to_config = "కాన్ఫిగరేషన్ కొనసాగించడం కొరకు లాగిన్ చేయండి (డిఫాల్ట్: యూజర్ నేమ్ = root, పాస్ వర్డ్ =)" admin_controller_status_updates_stopped = "స్టేటస్ అప్డేట్స్ ఆగిపోయినవి. " @@ -613,8 +612,6 @@ system_component_image_captcha = "చిత్రం Captcha" system_component_no_recovery = "ఏ యూజర్ పాస్వర్డ్ రికవరీ లింక్" system_component_email_recovery = "ఇమెయిల్ లింక్ పాస్వర్డ్ రికవరీ" system_component_email_questions = "ఇమెయిల్ లింక్ మరియు తనిఖీ ప్రశ్నలు రికవరీ" -system_component_normal_authentication = "సాధారణ ప్రమాణీకరణ" -system_component_zkp_authentication = "ZKP ప్రమాణీకరణ" system_component_enable = "ఎనేబుల్" system_component_disable = "ఆపివేయి" system_component_settings_updated = "సెట్టింగ్స్ అప్డేట్ చెయ్యబడినవి!" @@ -772,8 +769,6 @@ register_view_return = "తిరిగి Yioop" ; ; SigninView.php signin_view_signin = "సైన్ ఇన్" -signin_view_signing_in = "న లాగింగ్" -signin_view_login_failed = "లాగిన్ విఫలమైంది!" signin_view_username = "యూజర్ పేరు" signin_view_password = "పాస్‌వర్డ్ " signin_view_login = "లాగ్ ఇన్" @@ -1224,10 +1219,8 @@ searchsources_element_defaultquery = "డిఫాల్ట్ ప్రశ్ searchsources_element_search = "శోధన" ; ; SecurityElement.php -security_element_auth_captcha = "ప్రామాణీకరణ, యాక్సెస్, గోప్యతా, Captcha, మరియు రికవరీ" -security_element_auth_and_access = "ప్రామాణికత మరియు యాక్సెస్" -security_element_authentication_type = "ప్రమాణీకరణ పద్ధతి:" -security_element_zero_unavailable = "సున్నా జ్ఞానం ప్రమాణీకరణ అవసరం OpenSSL లేదా BC గణిత!" +security_element_session_captcha = "" +security_element_session = "" security_element_site_timezone = "Timezone:" security_element_token_name = "టోకెన్ పేరు:" security_element_session_name = "సెషన్ పేరు:" diff --git a/src/locale/th/configure.ini b/src/locale/th/configure.ini index 323935246..e5f892fa7 100755 --- a/src/locale/th/configure.ini +++ b/src/locale/th/configure.ini @@ -33,7 +33,6 @@ translate_service = "Some translations Powered by Yandex.translate (http://trans admin_controller_need_cookies = "คุกกี้ต้องการการล็อกอิน!!" admin_controller_account_not_active = "บัญชีผู้ใช้ไม่อยู่ในภาวะใช้งาน บางทีการร้องขอรหัสผ่านใหม?" admin_controller_login_successful = "ล็อกอินสำเร็จ!!" -admin_controller_no_back_button = "ไม่กลับปุ่มระหว่างการล็อกอิน!" admin_controller_login_failed = "ชื่อผู้ใช้หรือรหัสผ่านไม่ถูกต้อง!" admin_controller_login_to_config = "เข้าสู่ระบบเพื่อดำเนินการตั้งค่าคอนฟิก (ค่าเริ่มต้น: ชื่อผู้ใช้ = root รหัสผ่าน =)" admin_controller_status_updates_stopped = "สถานะปรับปรุงต้องหยุดได้แล้ว" @@ -613,8 +612,6 @@ system_component_image_captcha = "ภาพ Captcha" system_component_no_recovery = "ไม่มีผู้ใช้รหัสผ่านการรักษาที่เชื่อมโยง" system_component_email_recovery = "อีเมลเชื่อมโยงรหัสผ่านการรักษา" system_component_email_questions = "อีเมลเชื่อมต่อและตรวจสอบคำถามหา" -system_component_normal_authentication = "ปกติการตรวจสอบสิทธิ์" -system_component_zkp_authentication = "ZKP การตรวจสอบสิทธิ์" system_component_enable = "เปิดใช้งาน" system_component_disable = "ปิดการใช้งาน" system_component_settings_updated = "ตั้งค่าการปรับปรุง!" @@ -772,8 +769,6 @@ register_view_return = "กลับไป Yioop" ; ; SigninView.php signin_view_signin = "Signin" -signin_view_signing_in = "การทำปูมบันทึกอยู่" -signin_view_login_failed = "การล็อกอินล้มเหลว!" signin_view_username = "ชื่อผู้ใช้" signin_view_password = "รหัสผ่าน" signin_view_login = "ล็อกอิน" @@ -1224,10 +1219,8 @@ searchsources_element_defaultquery = "ค่าปริยายกับกา searchsources_element_search = "การค้นหา" ; ; SecurityElement.php -security_element_auth_captcha = "Auth,การเข้าถึงความเป็นส่วนตัว Captcha และการกู้คืน" -security_element_auth_and_access = "การตรวจสอบสิทธิ์ของและเข้าถึง" -security_element_authentication_type = "การตรวจสอบสิทธิ์ของประเภท:" -security_element_zero_unavailable = "ศูนย์ความรู้การตรวจสอบสิทธิ์ต้องการใช้ openssl หรือบีซีคณิตศาสตร์!" +security_element_session_captcha = "" +security_element_session = "" security_element_site_timezone = "เขตเวลา:" security_element_token_name = "ตั๋วเข้าใช้งานอนชื่อ:" security_element_session_name = "ชื่อวาระการเชื่อมต่อ:" diff --git a/src/locale/tl/configure.ini b/src/locale/tl/configure.ini index 90e2fdd57..8dbd50868 100644 --- a/src/locale/tl/configure.ini +++ b/src/locale/tl/configure.ini @@ -33,7 +33,6 @@ translate_service = "Some non-English translations Powered by Yandex.translate ( admin_controller_need_cookies = "Ang mga Cookies ay kinakailangan upang mag-login!!" admin_controller_account_not_active = "Account ay hindi na aktibo. Siguro humiling ng pag-reset ng password?" admin_controller_login_successful = "Mag-Login Matagumpay Na!!" -admin_controller_no_back_button = "Walang Bumalik Na Pindutan Sa Panahon Ng Pag-Login!" admin_controller_login_failed = "Username o Password ng Tama!" admin_controller_login_to_config = "Mag-Login upang magpatuloy configuration (default: u=root, p=)" admin_controller_status_updates_stopped = "Mga update ng katayuan ay tumigil." @@ -613,8 +612,6 @@ system_component_image_captcha = "Captcha Imahe" system_component_no_recovery = "Walang Pagbawi Ng Password Ng Gumagamit Link" system_component_email_recovery = "Link Ng Email Sa Pagbawi Ng Password" system_component_email_questions = "Email na Link at Suriin ang mga Tanong na Pagbawi" -system_component_normal_authentication = "Normal Na Pagpapatotoo" -system_component_zkp_authentication = "ZKP Pagpapatunay" system_component_enable = "Paganahin" system_component_disable = "Huwag paganahin ang" system_component_settings_updated = "Mga Setting Ng Na-Update!" @@ -772,8 +769,6 @@ register_view_return = "Bumalik sa Yioop" ; ; SigninView.php signin_view_signin = "Pag-Signin" -signin_view_signing_in = "Pag-log sa" -signin_view_login_failed = "Mag-Login Nabigo!" signin_view_username = "Username" signin_view_password = "Password" signin_view_login = "Pag-Login" @@ -1224,10 +1219,8 @@ searchsources_element_defaultquery = "Default Na Mga Query:" searchsources_element_search = "Paghahanap" ; ; SecurityElement.php -security_element_auth_captcha = "Auth, pag-Access, sa Privacy, Captcha, at Pagbawi" -security_element_auth_and_access = "Pagpapatunay at pag-Access" -security_element_authentication_type = "Authentication Type:" -security_element_zero_unavailable = "Zero Kaalaman sa Pagpapatunay ng Pangangailangan ng OpenSSL o BC Math!" +security_element_session_captcha = "" +security_element_session = "" security_element_site_timezone = "Timezone:" security_element_token_name = "Token Pangalan:" security_element_session_name = "Session Pangalan:" diff --git a/src/locale/tr/configure.ini b/src/locale/tr/configure.ini index c5a2ff505..649206280 100755 --- a/src/locale/tr/configure.ini +++ b/src/locale/tr/configure.ini @@ -33,7 +33,6 @@ translate_service = "Some translations Powered by Yandex.translate (http://trans admin_controller_need_cookies = "Çerezler giriş için gerekli!!" admin_controller_account_not_active = "Aktif hesap değil. Belki şifre sıfırlama isteği?" admin_controller_login_successful = "Giriş Başarılı!!" -admin_controller_no_back_button = "Oturum Açma Sırasında Geri Düğmesine!" admin_controller_login_failed = "Kullanıcı adı veya Hatalı Parola." admin_controller_login_to_config = "Yapılandırmaya devam etmek için giriş (varsayılan: username=root , şifre=)" admin_controller_status_updates_stopped = "Durum güncellemeleri durduruldu." @@ -613,8 +612,6 @@ system_component_image_captcha = "Görüntü Kaptan" system_component_no_recovery = "Kullanıcı Şifre Kurtarma Linki" system_component_email_recovery = "E-Posta Şifre Kurtarma Linki " system_component_email_questions = "Kurtarma e-posta Bağlantı ve Kontrol Soruları " -system_component_normal_authentication = "Normal Kimlik Doğrulaması" -system_component_zkp_authentication = "ZKP kimlik Doğrulama" system_component_enable = "Etkinleştir" system_component_disable = "Devre dışı bırak" system_component_settings_updated = "Ayarları Güncellendi!" @@ -772,8 +769,6 @@ register_view_return = "Dönüş Yioop için " ; ; SigninView.php signin_view_signin = "İmzalıyorum" -signin_view_signing_in = "Oturum" -signin_view_login_failed = "Giriş Başarısız Oldu!" signin_view_username = "Kullanıcı adı" signin_view_password = "Şifre" signin_view_login = "Giriş" @@ -1224,10 +1219,8 @@ searchsources_element_defaultquery = "Varsayılan Sorgu:" searchsources_element_search = "Arama" ; ; SecurityElement.php -security_element_auth_captcha = "Kimlik doğrulama, Erişim, Gizlilik, Kaptan ve Kurtarma" -security_element_auth_and_access = "Kimlik doğrulama ve Erişim" -security_element_authentication_type = "Kimlik Doğrulama Tipi:" -security_element_zero_unavailable = "Sıfır Bilgisi kimlik Doğrulaması OpenSSL ya da M. Ö. Matematik İhtiyacı var!" +security_element_session_captcha = "" +security_element_session = "" security_element_site_timezone = "Zaman dilimi:" security_element_token_name = "Token Adı:" security_element_session_name = "Oturum Adı:" diff --git a/src/locale/vi_VN/configure.ini b/src/locale/vi_VN/configure.ini index c7775222c..aa26a9ec2 100755 --- a/src/locale/vi_VN/configure.ini +++ b/src/locale/vi_VN/configure.ini @@ -33,7 +33,6 @@ translate_service = "Some translations Powered by Yandex.translate (http://trans admin_controller_need_cookies = "Cookies cần phải login!!" admin_controller_account_not_active = "Tài khoản không hoạt động. Có lẽ yêu cầu mật khẩu?" admin_controller_login_successful = "Đăng nhập thành công" -admin_controller_no_back_button = "Không Có Nút Quay Lại Trong Nhập!" admin_controller_login_failed = "Tên đăng nhập họăc khẩu không đúng" admin_controller_login_to_config = "Đăng nhập để tiếp tục cấu hình (mặc định: username = root, mật khẩu =)" admin_controller_status_updates_stopped = "Cập nhật tình trạng đã dừng lại." @@ -613,8 +612,6 @@ system_component_image_captcha = "Ảnh Mã Xác Nhận" system_component_no_recovery = "Không Có Người Sử Dụng Mật Khẩu Phục Hồi Kết" system_component_email_recovery = "Liên Kết Email Mật Khẩu Phục Hồi" system_component_email_questions = "Liên Kết Email và Kiểm tra câu Hỏi phục Hồi" -system_component_normal_authentication = "Bình Thường Xác Thực" -system_component_zkp_authentication = "ZKP Xác thực" system_component_enable = "Cho phép" system_component_disable = "Vô hiệu hóa" system_component_settings_updated = "Thiết Lập Cập Nhật!" @@ -772,8 +769,6 @@ register_view_return = "Quay trở lại Yioop" ; ; SigninView.php signin_view_signin = "Đăng nhập" -signin_view_signing_in = "Đăng nhập vào" -signin_view_login_failed = "Đăng Nhập Thất Bại!" signin_view_username = "Tên đăng nhập " signin_view_password = "Mật khẩu" signin_view_login = "Đăng nhập" @@ -1224,10 +1219,8 @@ searchsources_element_defaultquery = "Mặc Định Vấn:" searchsources_element_search = "Tìm kiếm" ; ; SecurityElement.php -security_element_auth_captcha = "N, Truy cập Mật Mã xác nhận, và phục Hồi" -security_element_auth_and_access = "Xác thực và Truy cập" -security_element_authentication_type = "Loại Xác Thực:" -security_element_zero_unavailable = "Không có Kiến thức Thực Cần Doc hoặc BC Toán!" +security_element_session_captcha = "" +security_element_session = "" security_element_site_timezone = "Múi giờ:" security_element_token_name = "Thẻ Tên:" security_element_session_name = "Phiên Tên:" diff --git a/src/locale/zh_CN/configure.ini b/src/locale/zh_CN/configure.ini index 85517fd21..f6bfd73bd 100755 --- a/src/locale/zh_CN/configure.ini +++ b/src/locale/zh_CN/configure.ini @@ -33,7 +33,6 @@ translate_service = "Some translations Powered by Yandex.translate (http://trans admin_controller_need_cookies = "饼干需要登录!!" admin_controller_account_not_active = "帐户不活跃。 也许请求密码重置?" admin_controller_login_successful = "登入成功" -admin_controller_no_back_button = "没有按钮在登录!" admin_controller_login_failed = "登入失敗" admin_controller_login_to_config = "登录以继续配置(默认:用户名=root,密码=)" admin_controller_status_updates_stopped = "管理員終止更新" @@ -613,8 +612,6 @@ system_component_image_captcha = "验证码图像" system_component_no_recovery = "没有用户密码恢复链接" system_component_email_recovery = "电子邮件链接的密码恢复" system_component_email_questions = "电子邮件链接和检查的问题恢复" -system_component_normal_authentication = "正常身份验证" -system_component_zkp_authentication = "ZKP身份验证" system_component_enable = "启用" system_component_disable = "禁用" system_component_settings_updated = "设置,更新了!" @@ -772,8 +769,6 @@ register_view_return = "回到Yioop" ; ; SigninView.php signin_view_signin = "登入" -signin_view_signing_in = "记录上" -signin_view_login_failed = "登录失败了!" signin_view_username = "使用者名稱" signin_view_password = "密碼" signin_view_login = "登入" @@ -1224,10 +1219,8 @@ searchsources_element_defaultquery = "默认的查询:" searchsources_element_search = "搜索" ; ; SecurityElement.php -security_element_auth_captcha = "身份验证,获取、隐私、验证和恢复" -security_element_auth_and_access = "身份验证和访问" -security_element_authentication_type = "认证类型:" -security_element_zero_unavailable = "零知识认证的需求OpenSSL或BC Math!" +security_element_session_captcha = "" +security_element_session = "" security_element_site_timezone = "时区:" security_element_token_name = "令牌名称:" security_element_session_name = "会议名称:" diff --git a/src/models/ProfileModel.php b/src/models/ProfileModel.php index a751f4565..1889c0c5c 100755 --- a/src/models/ProfileModel.php +++ b/src/models/ProfileModel.php @@ -49,25 +49,22 @@ class ProfileModel extends Model * @var array */ public $profile_fields = ['AD_LOCATION', 'API_ACCESS', 'AUTH_KEY', - 'AUTHENTICATION_MODE', 'AUTOLOGOUT', 'AUXILIARY_CSS', - 'BACKGROUND_COLOR', 'BACKGROUND_IMAGE', 'CACHE_LINK', 'CAPTCHA_MODE', + 'AUTOLOGOUT', 'AUXILIARY_CSS', 'BACKGROUND_COLOR', 'BACKGROUND_IMAGE', + 'CACHE_LINK', 'CAPTCHA_MODE', 'CONFIGURE_BOT','CSRF_TOKEN', 'DEBUG_LEVEL', 'DESCRIPTION_WEIGHT', 'DB_HOST', 'DBMS', 'DB_NAME', 'DB_PASSWORD', 'DB_USER', 'DEFAULT_LOCALE', 'DIFFERENTIAL_PRIVACY', - 'FAVICON', 'FIAT_SHAMIR_MODULUS', 'FOREGROUND_COLOR', - 'GLOBAL_ADSCRIPT', 'GROUP_ITEM', 'GROUP_ANALYTICS_MODE', 'IN_LINK', - 'IP_LINK', 'LANDING_PAGE', + 'FAVICON', 'FOREGROUND_COLOR', 'GLOBAL_ADSCRIPT', 'GROUP_ITEM', + 'GROUP_ANALYTICS_MODE', 'IN_LINK', 'IP_LINK', 'LANDING_PAGE', 'LINK_WEIGHT', 'LOGO_SMALL', 'LOGO_MEDIUM', 'LOGO_LARGE', 'MAIL_PASSWORD', 'MAIL_SECURITY', 'MAIL_SENDER', 'MAIL_SERVER', 'MAIL_SERVERPORT', 'MAIL_USERNAME', 'MIN_RESULTS_TO_GROUP', 'MONETIZATION_TYPE', - 'MEDIA_MODE', 'NAME_SERVER', - 'PRIVATE_DB_NAME', 'PRIVATE_DB_HOST', 'PRIVATE_DBMS', - 'PRIVATE_DB_PASSWORD', 'PRIVATE_DB_USER', 'PROXY_SERVERS', - 'RECOVERY_MODE', 'REGISTRATION_TYPE', 'RESULT_SCORE', - 'ROBOT_INSTANCE','RSS_ACCESS', - 'SEARCH_ANALYTICS_MODE', 'SEARCHBAR_PATH', - 'SEND_MAIL_MEDIA_UPDATER', 'SESSION_NAME', + 'MEDIA_MODE', 'NAME_SERVER', 'PRIVATE_DB_NAME', 'PRIVATE_DB_HOST', + 'PRIVATE_DBMS', 'PRIVATE_DB_PASSWORD', 'PRIVATE_DB_USER', + 'PROXY_SERVERS', 'RECOVERY_MODE', 'REGISTRATION_TYPE', 'RESULT_SCORE', + 'ROBOT_INSTANCE','RSS_ACCESS', 'SEARCH_ANALYTICS_MODE', + 'SEARCHBAR_PATH', 'SEND_MAIL_MEDIA_UPDATER', 'SESSION_NAME', 'SIDE_ADSCRIPT', 'SIDEBAR_COLOR', 'SIGNIN_LINK', 'SIMILAR_LINK', 'SUBSEARCH_LINK', 'TIMEZONE', 'TITLE_WEIGHT', 'TOPBAR_COLOR', 'TOP_ADSCRIPT','TOR_PROXY', 'USE_FILECACHE', @@ -356,8 +353,7 @@ class ProfileModel extends Model PASSWORD VARCHAR(" . C\LONG_NAME_LEN . "), STATUS INTEGER, HASH VARCHAR(" . C\LONG_NAME_LEN . "), CREATION_TIME VARCHAR(" . C\MICROSECOND_TIMESTAMP_LEN . - "), UPS INTEGER DEFAULT 0, DOWNS INTEGER DEFAULT 0, - ZKP_PASSWORD CHAR(" . C\ZKP_PASSWORD_LEN . "))", + "), UPS INTEGER DEFAULT 0, DOWNS INTEGER DEFAULT 0)", "USRS_USER_NAME_INDEX" => "CREATE INDEX USRS_USER_NAME_INDEX ON USERS(USER_NAME)", "USER_GROUP" => "CREATE TABLE USER_GROUP (USER_ID INTEGER, diff --git a/src/models/SigninModel.php b/src/models/SigninModel.php index 3f3e0b24c..8cd8d62ee 100755 --- a/src/models/SigninModel.php +++ b/src/models/SigninModel.php @@ -51,12 +51,8 @@ class SigninModel extends Model public function checkValidSignin($username, $password) { $db = $this->db; - $result = $this->getUserDetails($username); - if (!$result) { - return false; - } - $row = $db->fetchArray($result); - if (empty($row)) { + $row = $this->getUserDetails($username); + if (!$row) { return false; } // avoid timeing attacks if possible @@ -75,7 +71,7 @@ class SigninModel extends Model public function getUserDetails($username) { $db = $this->db; - $sql = "SELECT USER_NAME, PASSWORD, ZKP_PASSWORD FROM USERS ". + $sql = "SELECT USER_NAME, PASSWORD FROM USERS ". "WHERE LOWER(USER_NAME) = LOWER(?) " . $db->limitOffset(1); $i = 0; do { @@ -85,39 +81,11 @@ class SigninModel extends Model $result = $db->execute($sql, [$username]); $i++; } while (!$result && $i < 2); - return $result; - } - /** - * Checks one round of username and password in case of ZKP authentication - * via the Fiat Shamir protocol. Let S be the user's password (not stored - * on server, secret, and co-prime to some public $n = pq). - * V = S^2 mod $n is stored on the server and is assumed to be publicly - * known. - * Idea is that previously - * (1) client sent server an x = r^2 mod $n - * (2) the server sent a random e in {0, 1} to client - * Now the server has just received y = r S^e mod $n. - * and verifies y^2 = r^2(S^2)^e = xV^e mod $n. - * - * @param string $username which login to verify - * @param string $x as described above in the comment - * @param string $y as described above in the comment - * @param string $e random exponent to use - * @param string $n modulus to use for Fiat Shamir - * @return bool - */ - public function checkValidSigninForZKP($username, $x, $y, $e, $n) - { - $db = $this->db; - $result = $this->getUserDetails($username); if (!$result) { return false; } $row = $db->fetchArray($result); - $v = $row['ZKP_PASSWORD']; - $rp = bcmod(bcmul($x, bcmod(bcpow($v, $e), $n)), $n); - $lp = bcmod(bcmul($y, $y), $n); - return (bccomp($rp, $lp) == 0); + return $row; } /** * Checks that a username email pair is valid @@ -201,17 +169,4 @@ class SigninModel extends Model [L\crawlCrypt($password), $username]); return $result != false; } - /** - * Changes the password of a given user in case of ZKP authentication - * - * @param string $username username of user to change password of - * @param string $password new password for user - * @return bool update successful or not. - */ - public function changePasswordZKP($username, $password) - { - $sql = "UPDATE USERS SET ZKP_PASSWORD=? WHERE USER_NAME = ? "; - $result = $this->db->execute($sql, [$password, $username]); - return $result != false; - } } diff --git a/src/models/UserModel.php b/src/models/UserModel.php index 7a1fd2b51..270ed33df 100755 --- a/src/models/UserModel.php +++ b/src/models/UserModel.php @@ -387,31 +387,28 @@ class UserModel extends Model * * @param string $username the username of the user to be added * @param string $password the password in plaintext - * of the user to be added, and ZKP auth not being used (else - * this can be the empty string) + * of the user to be added * @param string $firstname the firstname of the user to be added * @param string $lastname the lastname of the user to be added * @param string $email the email of the user to be added * @param int $status one of ACTIVE_STATUS, INACTIVE_STATUS, or * SUSPENDED_STATUS - * @param string $zkp_password the password parameters needed to - * verify a Fiat-Shamir password * @return mixed false if operation not successful, user_id otherwise */ public function addUser($username, $password, $firstname = '', $lastname='', - $email = '', $status = C\ACTIVE_STATUS, $zkp_password = '') + $email = '', $status = C\ACTIVE_STATUS) { $creation_time = L\microTimestamp(); $db = $this->db; $sql = "INSERT INTO USERS(FIRST_NAME, LAST_NAME, USER_NAME, EMAIL, PASSWORD, STATUS, HASH, - CREATION_TIME, ZKP_PASSWORD) VALUES ( - ?, ?, ?, ?, ?, ?, ?, ?,?)"; + CREATION_TIME) VALUES ( + ?, ?, ?, ?, ?, ?, ?, ?)"; $username = mb_strtolower($username); $result = $db->execute($sql, [$firstname, $lastname, $username, $email, L\crawlCrypt($password), $status, L\crawlCrypt($username . C\AUTH_KEY . $creation_time), - $creation_time, $zkp_password]); + $creation_time]); if (!$user_id = $this->getUserId($username)) { return false; } diff --git a/src/scripts/zkp.js b/src/scripts/zkp.js deleted file mode 100644 index d064a1ef9..000000000 --- a/src/scripts/zkp.js +++ /dev/null @@ -1,244 +0,0 @@ -/** - * SeekQuarry/Yioop -- - * Open Source Pure PHP Search Engine, Crawler, and Indexer - * - * Copyright (C) 2009 - 2020 Chris Pollett chris@pollett.org - * - * LICENSE: - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - * - * END LICENSE - * - * @author Akash Patel (edited by Chris Pollett chris@pollett.org) - * @license https://www.gnu.org/licenses/ GPL3 - * @link https://www.seekquarry.com/ - * @copyright 2009 - 2020 - * @filesource - */ -/* - * Returns RSA like modulus. - * - * @param String id identifier of a hidden input field containing the - * modulus to use in the Fiat Shamir Protocol - * @return BigInt RSA-like modulus. - */ -function getN(id) -{ - var n = elt(id).value; - return str2BigInt(n, 10, 0); -} -/* - * Generates Fiat shamir parameters such as x and y and append - * with the input form - * - * @param Object fiat_shamir_id id of the form - * @param String sha1 of the user password - * @param int e random value sent by the server. Either 0 or 1. - * @param String user_name id of the form - * @param String modulus_id identifier of hidden field with modulus to use in - * Fiat Shamir - */ -function dynamicForm(zkp_form_id, sha1, e, user_name, modulus_id) -{ - var zkp_form = elt(zkp_form_id); - var n = getN(modulus_id); - var r = getR(n); - var x = multMod(r, r, n); - var y = getY(sha1, e, r, n); - var input_x = ce('input'); - input_x.type = 'hidden'; - input_x.name = 'x'; - input_x.value = bigInt2Str(x, 10); - var input_y = ce('input'); - input_y.type = 'hidden'; - input_y.name = 'y'; - input_y.value = bigInt2Str(y, 10); - var input_username = ce('input'); - input_username.type = 'hidden'; - input_username.name = 'u'; - input_username.value = user_name; - zkp_form.appendChild(input_x); - zkp_form.appendChild(input_y); - zkp_form.appendChild(input_username); - zkp_form.submit(); -} -/* - * Generates Fiat shamir parameters Y. When user gives username, password - * for the first time it stored the password on the cookie. From rest of - * the Fiat shamir iteration it uses password stores on the client side - * cookie. - * - * @param String sha1 sha1 of the password - * @param int e random value sent by the server. Either 0 or 1. - * @param BigInt r random value picked by the client - * @param BigInt n RSA like modulus - * @return BigInt y fiat-shamir parameter Y. - */ -function getY(sha1, e, r, n) -{ - var s = str2BigInt(sha1, 16, 0); - var se; - if (e == 0) { - se = '1'; - se = str2BigInt(se, 10, 0); - } else { - se = s; - } - y = multMod(r, se, n); - return y; -} -/* - * Generates random number and converts it into BigInteger in provided range - * - * @param BigInt range. Random number be from 0 to range - 1 - * @return BigInteger final_r random BigInteger - */ -function getR(range) -{ - var len = range.length; - var random_words; - var got_r = false; - if (window.crypto && window.crypto.getRandomValues) { - random_words = new Int32Array(Math.floor(len/4) + 1); - window.crypto.getRandomValues(random_words); - - } else if (window.msCrypto && window.msCrypto.getRandomValues) { - random_words = new Int32Array(Math.floor(len/4) + 1); - window.msCrypto.getRandomValues(random_words); - } else { - /* if you're in this case you are using an old browser and someone - might be able to fool you (still hard) - */ - var r = ""; - var digit; - for (var i = 0; i < len; i++) { - digit = Math.floor((Math.random() * 10) + 1); - r += digit.toString(); - } - r = str2BigInt(r, 10, 0); - got_r = true; - } - if (!got_r) { - for (var i = 0; i < random_words.length; i++) { - r += random_words[i].toString(); - } - r = str2BigInt(r, 256, 0); - } - var final_r = bigMod(r, range); - return final_r; -} -/* - * Generates Fiat shamir parameters such as x and y and append - * with the input form. This method calls first time when user - * provides user name and password - * - * @param Object zkp_form_id identifier of the form with zkp data - * @param String username_id identifier of the form element with the username - * @param String password_id identifier of the form element with the password - * @param int e random value send by the server. Either 0 or 1. - * @param int auth_count number of Fiat-Shamir iterations - */ -function generateKeys(zkp_form_id, username_id, password_id, - modulus_id, e, auth_count) -{ - var password = elt(password_id).value; - var u = elt(username_id).value; - var token_object = elt('CSRF-TOKEN'); - var token = token_object.value; - var token_name = token_object.name; - var sha1 = generateSha1(password); - var n = new getN(modulus_id); - var auth_message = elt('auth-message').value; - $i = 0; - for (var i = 0; i < 2 * auth_count; i++) { - if (i% 5 == 0) { - auth_message += "."; - elt('message').innerHTML = "<h1 class=\"red\" >" + auth_message + - "</h1>"; - } - var r = getR(n); - var x = multMod(r, r, n); - var y = getY(sha1, e, r, n); - var x_string = bigInt2Str(x, 10); - var y_string = bigInt2Str(y, 10); - sendFiatShamirParameters(x_string, y_string, u, token, token_name, i); - var e_temp = elt("salt-value").value; - e_temp = e_temp + ''; - if (e_temp == 'done1') { - e = 1; - break; - } else if (e_temp == 'done0') { - e = 0; - break; - } - e = parseInt(e_temp); - if (e == -1) { - e = 1; - break; - } - } - elt(password_id).value = null; - if (i == 2 * auth_count) { - doMessage("<h1 class=\"red\" >"+elt('auth-fail-message').value+"</h1>"); - return; - } - dynamicForm(zkp_form_id, sha1, e, u, modulus_id); -} -/* - * Sends Fiat-Shamir via AJAX parameters and receives parameter e from server - * - * @param BigInt x Fiat-Shamir parameter x - * (@see SigninModel::checkValidSigninForZKP for details) - * @param BigInt y Fiat-Shamir parameter y - * @param String u username provided by user - * @param String token CSRF token sent by the server - * @param String token_name name to use for CSRF token - * @param String round_num on the server this is used only to see if 0 - * in which case it restarts the count - */ -function sendFiatShamirParameters(x, y, u, token, token_name, round_num) -{ - var http = new XMLHttpRequest(); - var url = "./"; - var params = "c=admin&x=" + x + "&y=" + y +"&u=" + u + - "&"+token_name+"=" + token + "&round_num=" + round_num; - http.open("post", url, false); - http.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); - http.onreadystatechange = function () { - if (http.readyState == 4 && http.status == 200) { - elt("salt-value").value = http.responseText; - } - } - http.send(params); -} -/* - * This function is used during create account module and when - * authentication mode is ZKP. - * - * @param String password_id element that holds ZKP password - * @param String repassword_id element that holds retyped ZKP password - * @param String modulus_id element that holds fiat shamir modulus - */ -function registration(password_id, repassword_id, modulus_id) -{ - var password = elt(password_id); - var repassword = elt(repassword_id); - var sha1 = generateSha1(password.value); - var x = str2BigInt(sha1, 16, 0); - var n = getN(modulus_id); - var z = multMod(x, x, n); - password.value = bigInt2Str(z, 10); - repassword.value = bigInt2Str(z, 10); -} diff --git a/src/views/RegisterView.php b/src/views/RegisterView.php index 602faac7b..03ff74755 100755 --- a/src/views/RegisterView.php +++ b/src/views/RegisterView.php @@ -122,21 +122,7 @@ class RegisterView extends View src="<?= C\BASE_URL . $logo ?>" alt="<?= $this->logo_alt_text ?>" /></a><span> - <?=tl('register_view_create_account') ?></span></h1> - <?php - if ($data['AUTHENTICATION_MODE'] == C\ZKP_AUTHENTICATION) { ?> - <form method="post" - onsubmit="registration('pass-word', 'retype-password', <?php - ?>'fiat-shamir-modulus')"> - <input type="hidden" name="fiat_shamir_modulus" - id="fiat-shamir-modulus" - value="<?=$data['FIAT_SHAMIR_MODULUS'] ?>"/> - <?php - } else { - ?> - <form method="post"> - <?php - } - ?> + <form method="post"> <input type="hidden" name="c" value="register" /> <input type="hidden" name="a" value="processAccountData" /> <?php diff --git a/src/views/SigninView.php b/src/views/SigninView.php index 876daf05f..503e57691 100755 --- a/src/views/SigninView.php +++ b/src/views/SigninView.php @@ -67,25 +67,7 @@ class SigninView extends View }?>"><img src="<?=C\BASE_URL . $logo ?>" alt="<?= $this->logo_alt_text ?>" /></a><span> - <?=tl('signin_view_signin') ?></span></h1> - <?php if (isset($data['AUTH_ITERATION'])) { ?> - <form method="post" id="zkp-form" - onsubmit="generateKeys('zkp-form','username', <?php - ?>'password', 'fiat-shamir-modulus', '<?= - $_SESSION['SALT_VALUE'] ?>', <?= - $data['AUTH_ITERATION'] ?>)" > - <input type="hidden" name="fiat_shamir_modulus" - id="fiat-shamir-modulus" - value="<?=$data['FIAT_SHAMIR_MODULUS'] ?>"/> - <input type="hidden" id="salt-value" name="salt_value" /> - <input type="hidden" id="auth-message" - name="auth_message" value="<?= - tl('signin_view_signing_in') ?>" /> - <input type="hidden" id="auth-fail-message" - name="auth_fail_message" value="<?= - tl('signin_view_login_failed') ?>" /> - <?php } else {?> - <form method="post"> - <?php } ?> + <form method="post"> <div class="login"> <table> <tr> diff --git a/src/views/elements/ManageaccountElement.php b/src/views/elements/ManageaccountElement.php index 595d7e321..529353f1f 100755 --- a/src/views/elements/ManageaccountElement.php +++ b/src/views/elements/ManageaccountElement.php @@ -82,21 +82,8 @@ class ManageaccountElement extends Element $edit_or_no_img?>" title='<?=$edit_or_no_text ?>' alt='<?= $edit_or_no_text ?>' /></a> </small></h2> - <?php - if (isset($data['EDIT_PASSWORD']) && - C\AUTHENTICATION_MODE == C\ZKP_AUTHENTICATION) { ?> - <form method="post" - onsubmit="registration('new-password','retype-password', - 'fiat-shamir-modulus')"> - <input type="hidden" name="fiat_shamir_modulus" - id="fiat-shamir-modulus" - value="<?= $data['FIAT_SHAMIR_MODULUS'] ?>"/> - <?php - } else { ?> - <form id="changeUserForm" method="post" - autocomplete="off" enctype="multipart/form-data"> - <?php - } + <form id="changeUserForm" method="post" + autocomplete="off" enctype="multipart/form-data"><?php $row_col_span = 'rowspan="4"'; if (isset($data['EDIT_USER'])) { $row_col_span = 'rowspan="7"'; diff --git a/src/views/elements/ManageusersElement.php b/src/views/elements/ManageusersElement.php index 68716d0da..11581ac34 100644 --- a/src/views/elements/ManageusersElement.php +++ b/src/views/elements/ManageusersElement.php @@ -238,16 +238,8 @@ class ManageusersElement extends Element "$f_amp;group_filter=".$data['GROUP_FILTER'] : ""; $base_url .= $visibles; $edituser = ($data['FORM_TYPE'] == "edituser") ? true: false; - if ($data['AUTHENTICATION_MODE'] == C\ZKP_AUTHENTICATION) { ?> - <form id="admin-form" method="post" - onsubmit="registration('pass-word','retype-password', - 'fiat-shamir-modulus')"> - <input type="hidden" name="fiat_shamir_modulus" - id="fiat-shamir-modulus" - value="<?= $data['FIAT_SHAMIR_MODULUS'] ?>"/><?php - } else { ?> - <form id="admin-form" method="post" autocomplete="off" ><?php - } + ?> + <form id="admin-form" method="post" autocomplete="off" ><?php if ($edituser) { e("<h2>".tl('manageusers_element_user_info'). "</h2>"); } else { diff --git a/src/views/elements/SecurityElement.php b/src/views/elements/SecurityElement.php index 07f3d647d..022b0c8e1 100755 --- a/src/views/elements/SecurityElement.php +++ b/src/views/elements/SecurityElement.php @@ -56,7 +56,7 @@ class SecurityElement extends Element $data['LOCALE_TAG']; ?> <div class = "current-activity"> - <h2><?= tl('security_element_auth_captcha') ?></h2> + <h2><?= tl('security_element_session_captcha') ?></h2> <form class="top-margin" method="post"> <input type="hidden" name="c" value="admin" /> <input type="hidden" name="a" value="security"/> @@ -66,23 +66,11 @@ class SecurityElement extends Element <div class="top-margin"> <fieldset> <legend><b><?= - tl('security_element_auth_and_access'). + tl('security_element_session'). " " . $this->view->helper("helpbutton")->render( - "Authentication Type", $data[C\CSRF_TOKEN]) + "Session Parameters", $data[C\CSRF_TOKEN]) ?> </b></legend> - <div><b><label for="authentication-mode"><?= - tl('security_element_authentication_type')?></label></b> - <?php $this->view->helper("options")->render( - "authentication-mode", "AUTHENTICATION_MODE", - $data['AUTHENTICATION_MODES'], - $data['AUTHENTICATION_MODE']); - if (isset($data['ZKP_UNAVAILABLE']) && - $data['ZKP_UNAVAILABLE']) { - e('<div class="red">'. - tl('security_element_zero_unavailable')."</div>"); - } ?> - </div> <div class="top-margin"><b><label for="timezone"><?= tl('security_element_site_timezone') ?></label></b> <input type="text" id="timezone"