An account refers to the user the active session is logged in as. As such it doesn't make sense outside of the /auth API paths that deals with the current authenticated user. Move /api/account to /api/auth/account to reflect this. |
||
---|---|---|
.. | ||
account.delete.ts | ||
account.patch.ts | ||
account.post.ts | ||
login.post.ts | ||
session.delete.ts | ||
session.get.ts |