From bc0028acb951337b89bd8616a6780452b12ef8eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=80=9D?= <2897217417@qq.com> Date: Mon, 25 Nov 2024 16:45:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=B9=E7=AA=97=E7=99=BB=E5=BD=95=E5=8A=A0?= =?UTF-8?q?=E5=AF=86=E4=BC=A0=E8=BE=93=E5=AF=86=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/login/LoginDialog.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/login/LoginDialog.js b/src/modules/login/LoginDialog.js index 03f01a283..9b922b652 100644 --- a/src/modules/login/LoginDialog.js +++ b/src/modules/login/LoginDialog.js @@ -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) => {