This commit is contained in:
Gloomy 2025-08-11 11:55:31 +00:00
parent d231e81252
commit ded4cff458
2 changed files with 3 additions and 0 deletions

View file

@ -347,6 +347,7 @@ class Explore
'address' => $person->getAddress(),
'prelabel' => null,
'tags' => $person->getTags(),
'requireTwoStep' => $person->isRequireTwoStep(),
];
if ($person->getPrelabel()) {
$res['prelabel'] = $person->getPrelabel()->getLabel();

View file

@ -364,6 +364,8 @@ export default {
if (id) {
axios.post('/api/person/info/' + id).then((response) => {
console.log('Loaded person data:', response.data);
console.log('requireTwoStep value:', response.data.requireTwoStep);
this.person = response.data;
this.loading = false;
}).catch((error) => {