feat: Implement core course management, enrollment, and classroom learning functionalities with new composables and components.

This commit is contained in:
supalerk-ar66 2026-02-04 16:22:42 +07:00
parent 05755992a7
commit 754f211a08
4 changed files with 221 additions and 66 deletions

View file

@ -451,6 +451,12 @@ export const useAuth = () => {
token.value = null
refreshToken.value = null // ลบ Refresh Token
user.value = null
// Reset client-side storage
if (import.meta.client) {
localStorage.clear()
}
const router = useRouter()
router.push('/auth/login')
}