getCompiled()->isFresh($_smarty_tpl, array ( 'version' => '5.3.1', 'unifunc' => 'content_672a12b3c682b6_78754476', 'has_nocache_code' => false, 'file_dependency' => array ( '20cc30c246fab7691c41efeb87bf099fb8ee6f50' => array ( 0 => 'user/edit.tpl', 1 => 1730810546, 2 => 'file', ), ), 'includes' => array ( 'file:user/header.tpl' => 1, 'file:user/footer.tpl' => 1, ), ))) { function content_672a12b3c682b6_78754476 (\Smarty\Template $_smarty_tpl) { $_smarty_current_dir = '/private/var/www/wwwroot/crc.loc/resources/views/tabler/user'; $_smarty_tpl->renderSubTemplate('file:user/header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), (int) 0, $_smarty_current_dir); ?> src="//getValue('config')['jsdelivr_url'];?> /npm/jquery/dist/jquery.min.js"> >

登录邮箱

当前邮箱:getValue('user')->email;?>

getValue('config')['enable_change_email']) {?>disabled="">
getValue('public_setting')['reg_email_verify'] && $_smarty_tpl->getValue('config')['enable_change_email']) {?>

用戶名

当前用戶名:getValue('user')->user_name;?>

IM 账号绑定

解绑 IM 账户

getValue('user')->im_type === 0) {?>

你的账户当前没有绑定任何 IM 服务

当前绑定的 IM 服务:getValue('user')->imType();?>
账户 ID:getValue('user')->im_value;?>

getValue('user')->im_type !== 0) {?>

多因素认证


密钥: getValue('user')->ga_token;?>

修改登录密码

更换加密方式

不同的客户端支持的加密方式可能会有所不同,请参考客户端支持列表进行设置

重置订阅地址

重置订阅地址后,旧的订阅地址将无法获取配置,但节点配置仍能使用。 如果希望作废旧节点配置请配合重置连接密码操作

重置连接密码

重置连接密码与UUID ,重置后需更新订阅,才能继续使用

当前连接密码:getValue('user')->passwd;?>

当前UUID:getValue('user')->uuid;?>

每日流量报告

偏好的联系方式

当 IM 未绑定时站点依然会向账户邮箱发送通知信息

getValue('config')['enable_kill']) {?>

删除账户数据

getValue('config')['enable_kill']) {?> > let qrcode = new QRCode('qrcode', { text: "getValue('ga_url');?> ", width: 128, height: 128, colorDark: '#000000', colorLight: '#ffffff', correctLevel: QRCode.CorrectLevel.H }); getValue('user')->im_type === 0 && $_smarty_tpl->getValue('user')->im_value === '') {?> let oauthProvider = $('#oauth-provider'); $("#imtype").on('change', function () { if ($(this).val() === '0') { oauthProvider.empty(); } else if ($(this).val() === '1') { oauthProvider.empty(); oauthProvider.append( "绑定 Slack" ); } else if ($(this).val() === '2') { oauthProvider.empty(); oauthProvider.append( "绑定 Discord" ); } else if ($(this).val() === '4') { oauthProvider.empty(); oauthProvider.append( ' async src=\"https://telegram.org/js/telegram-widget.js?22\"' + ' data-telegram-login=\"' + "getValue('public_setting')['telegram_bot'];?> " + '\" data-size=\"large" data-onauth=\"onTelegramAuth(user)\"' + ' data-request-access=\"write\"><\/script>' ); } }); oauthProvider.on('click', '#bind-slack', function () { $.ajax({ type: "POST", url: "/oauth/slack", dataType: "json", success: function (data) { handleOauthResult(data, 'slack') } }) }); oauthProvider.on('click', '#bind-discord', function () { $.ajax({ type: "POST", url: "/oauth/discord", dataType: "json", success: function (data) { handleOauthResult(data, 'discord') } }) }); function onTelegramAuth(user) { $.ajax({ type: "POST", url: "/oauth/telegram", dataType: "json", data: { user: JSON.stringify(user), }, success: function (data) { handleOauthResult(data, 'telegram') } }) } function handleOauthResult(data, type = 'telegram') { if (data.ret === 1) { if (type === 'telegram') { $('#success-message').text(data.msg); $('#success-dialog').modal('show'); } else { window.location.replace(data.redir); } } else { $('#error-message').text(data.msg); $('#fail-dialog').modal('show'); } } > renderSubTemplate('file:user/footer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), (int) 0, $_smarty_current_dir); } }