. require_once("../inc/util.inc"); require_once("../inc/user.inc"); $url = parse_config(get_config(), ""); $user = get_logged_in_user(); page_head(tra("Account keys")); $weak_auth = weak_auth($user); // figure out the name of this project's account file. // strip http:// // $idx = strpos($url, '://'); if ($idx) { $url = substr($url, $idx+strlen('://')); } // convert invalid characters into underscores // for ($i=0; $i", tra("You can access your account either by using your email address and password, or by using an assigned 'account key'. Your account key is:"), "
$user->authenticator

", tra("This key can be used to:"), "

", tra("Weak account key"), "

", tra("Your 'weak account key' can be used to attach computers to your account as described above, but cannot be used to log in to your account or change it in any way. If you want to attach untrusted or insecure computers to your account, do so using your weak account key. Your weak account key is:"),"
$weak_auth

", tra("If you change your password, your weak account key changes, and your previous weak account key becomes invalid.")," " ; page_tail(); ?>