-
Notifications
You must be signed in to change notification settings - Fork 809
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to enable Two Factor Authentication #1462
Comments
I can enable 2fa just fine on a fresh jetstream install with inertia. |
thanks for the update. Will debug more. Need to find wht COnfirmpassword.vue cause an axios error. |
Found a solution. Due to the fact I am not using Bootstrap, but Tailwin. I added the following code to app.js: import axios from 'axios'; window.axios = axios; window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'; After this it was working. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Jetstream Version
5.0.1
Jetstream Stack
Inertia
Laravel Version
11.1.1
PHP Version
8.3.4
Database Driver & Version
No response
Description
It appears that enabling Two-Factor Authentication is currently impossible. When I am logged in and navigate to my user profile, I encounter a section where I should be able to activate Two-Factor Multi-Authentication. Unfortunately, it doesn't seem to work.
In the console, I receive the message 'Uncaught ReferenceError: axios is not defined
![afbeelding](https://private-user-images.githubusercontent.com/3889668/317852427-8a44c991-2d68-4830-a690-0a246168f8c5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEzNTAwMjcsIm5iZiI6MTcyMTM0OTcyNywicGF0aCI6Ii8zODg5NjY4LzMxNzg1MjQyNy04YTQ0Yzk5MS0yZDY4LTQ4MzAtYTY5MC0wYTI0NjE2OGY4YzUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MTlUMDA0MjA3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NTNjZWY0Y2M2NTM3Mzk1YTNkYjFlOGMyYmI0MGEwODRjYjA4MGJkZWQ5MzE4NjRmOWJiMjcwMWU3YTY0ZTBmZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.xBY0qVPAhC5seaHhntYIlVR77rwm6zLvuUDkX_40KYQ)
Steps To Reproduce
Just got to your profile and try to enable two way multifacty authentication
The text was updated successfully, but these errors were encountered: