I'm trying to disable some routes

I'm trying to disable some routes, I saw that there is a string array "disabledPaths". Mine is like this
disabledPaths: [
'/change-email',
'/list-sessions',
'/list-accounts',
'/unlink-account',
]
disabledPaths: [
'/change-email',
'/list-sessions',
'/list-accounts',
'/unlink-account',
]
, but it's not disabling, can someone help me?
1 Reply
kan
kan2w ago
Same, disabledPaths: ["/sign-up/email"], does not disable sign-up path for me. Users can still sign-up.

Did you find this page helpful?