Closed jay754 closed 1 year ago
I keep getting a 401 on the create action. I have tried to change the file along with the routes.
here is my routes file.
mount_devise_token_auth_for "User", at: "auth", controllers: { passwords: "passwords", sessions: "custom_sessions" }
class CustomSessionsController < Devise::SessionsController def create super end def destroy end end
Current behavior
I keep getting a 401 on the create action. I have tried to change the file along with the routes.
here is my routes file.
mount_devise_token_auth_for "User", at: "auth", controllers: { passwords: "passwords", sessions: "custom_sessions" }