弹窗登录加密传输密码

This commit is contained in:
谢思 2024-11-25 16:45:29 +08:00 committed by caishi
parent cc551875d7
commit bc0028acb9
1 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@ import cookie from 'react-cookies';
import './LoginDialog.css';
import { broadcastChannelPostMessage } from 'educoder'
import Notcompletedysl from "../user/Notcompletedysl";
import { Encrypt } from '../../common/Env';
const $ = window.$;
var wait = 60;
@ -371,7 +372,7 @@ class LoginDialog extends Component {
let url = '/accounts/login.json'
axios.post(url, {
login: newloginValue,
password: newpassValue,
password: Encrypt(newpassValue),
autologin: isGoingValue
}
).then((response) => {