mirror of https://github.com/openspug/spug
fix issue
parent
dd1cf0e81f
commit
a477aa2dcc
|
@ -12,7 +12,7 @@ import store from './store';
|
|||
|
||||
export default observer(function () {
|
||||
const [verify_ip, setVerifyIP] = useState(store.settings.verify_ip);
|
||||
const [mfa, setMFA] = useState(store.settings.MFA);
|
||||
const [mfa, setMFA] = useState(store.settings.MFA || {});
|
||||
|
||||
function handleChangeVerifyIP(v) {
|
||||
setVerifyIP(v);
|
||||
|
|
Loading…
Reference in New Issue