File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
setup/src/Magento/Setup/Controller Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -90,12 +90,12 @@ public function checkAuthAction()
90
90
);
91
91
$ isValid = json_decode ($ isValid , true );
92
92
if ($ isValid ['success ' ] === true ) {
93
- return new JsonModel (['success ' => true , 'data ' => $ authDataJson ]);
93
+ return new JsonModel (['success ' => true , 'data ' => [ ' username ' => $ authDataJson[ ' username ' ]] ]);
94
94
} else {
95
95
return new JsonModel (['success ' => false , 'message ' => $ isValid ['message ' ]]);
96
96
}
97
97
}
98
- return new JsonModel (['success ' => false , 'data ' => $ authDataJson ]);
98
+ return new JsonModel (['success ' => false , 'data ' => [ ' username ' => $ authDataJson[ ' username ' ]] ]);
99
99
} catch (\Exception $ e ) {
100
100
return new JsonModel (['success ' => false , 'message ' => $ e ->getMessage ()]);
101
101
}
You can’t perform that action at this time.
0 commit comments