Skip to content

Commit 59f0972

Browse files
authored
Update TwoFactorAuthenticationForm.vue
1 parent cbbea49 commit 59f0972

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stubs/inertia/resources/js/Pages/Profile/Partials/TwoFactorAuthenticationForm.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ const showQrCode = () => {
5454
};
5555
5656
const showSetupKey = () => {
57-
return axios.get('/user/two-factor-setup-key').then(response => {
58-
setupKey.value = response.data.setupKey;
57+
return axios.get('/user/two-factor-secret-key').then(response => {
58+
setupKey.value = response.data.secretKey;
5959
});
6060
}
6161

0 commit comments

Comments
 (0)