Support MFA recovery tokens
This commit is contained in:
@@ -11,6 +11,7 @@ const app_config = {
|
||||
* Can be used to generate fully-qualified links.
|
||||
*/
|
||||
url: env("APP_URL", "http://localhost:8000/"),
|
||||
default_locale: env('APP_DEFAULT_LOCALE', 'en_US'),
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -12,9 +12,11 @@ const traps_config = {
|
||||
mfa_challenge: {
|
||||
redirect_to: '/auth/mfa/challenge',
|
||||
allowed_routes: [
|
||||
'/auth/mfa/recovery',
|
||||
'/auth/mfa/challenge',
|
||||
'/api/v1/auth/mfa/attempt',
|
||||
'/auth/logout',
|
||||
'/api/v1/auth/mfa/recovery/attempt',
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user