1
This commit is contained in:
@ -169,8 +169,8 @@ function handleLogin() {
|
|||||||
|
|
||||||
function getCode() {
|
function getCode() {
|
||||||
getCodeImg().then((res) => {
|
getCodeImg().then((res) => {
|
||||||
captchaEnabled.value =
|
captchaEnabled.value = res.captchaEnabled === undefined ? true : res.captchaEnabled;
|
||||||
res.captchaEnabled === undefined ? true : res.captchaEnabled;
|
register.value = res.register === undefined ? true : res.register;
|
||||||
if (captchaEnabled.value) {
|
if (captchaEnabled.value) {
|
||||||
codeUrl.value = "data:image/gif;base64," + res.img;
|
codeUrl.value = "data:image/gif;base64," + res.img;
|
||||||
loginForm.value.uuid = res.uuid;
|
loginForm.value.uuid = res.uuid;
|
||||||
|
Reference in New Issue
Block a user