提交 e55f045b authored 作者: vipcxj's avatar vipcxj

修正关于uca登录的bug

上级 78240a11
...@@ -120,7 +120,7 @@ export default { ...@@ -120,7 +120,7 @@ export default {
response = yield call(authorize, yield call(passValidate, password, encrypt(tkId))); response = yield call(authorize, yield call(passValidate, password, encrypt(tkId)));
} else if (uca) { } else if (uca) {
if (uca.status === 0) { if (uca.status === 0) {
response = yield call(authorize, yield call(ucaValidate, uca, encrypt(tkId))); response = yield call(authorize, yield call(ucaValidate, uca.signed, encrypt(tkId)));
} else { } else {
throw errors.generalError(uca.error); throw errors.generalError(uca.error);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论