���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/alphpwcp/public_html/us/alphachat/modules/lhxml/checklogin.php
���ѧ٧ѧ�
<?php // Debug //erLhcoreClassLog::write(print_r($_POST,true)); header('Content-type: application/json'); @ini_set('session.cookie_samesite', 'None'); @ini_set('session.cookie_secure', true); $options = erLhcoreClassModelChatConfig::fetch('mobile_options')->data; if (!isset($options['notifications']) || !$options['notifications']) { exit; } $currentUser = erLhcoreClassUser::instance(); if ($currentUser->authenticate($_POST['username'],$_POST['password'])) { echo json_encode( array('result' => true) ); } else { if (($userAttempt = erLhcoreClassModelUser::findOne(array('filter' => array('username' => $_POST['Username'])))) instanceof erLhcoreClassModelUser) { erLhcoreClassModelUserLogin::logUserAction(array( 'type' => erLhcoreClassModelUserLogin::TYPE_LOGIN_ATTEMPT, 'user_id' => $userAttempt->id, 'msg' => erTranslationClassLhTranslation::getInstance()->getTranslation('user/login','Failed login. XML_CHECK_LOGIN') )); erLhcoreClassModelUserLogin::disableIfRequired($userAttempt); } echo json_encode( array('result' => false) ); } exit; ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�