Commit Graph

3 Commits

Author SHA1 Message Date
admin 188038846e feat(tests): add login and logout test cases for sidebar and email options 2026-06-25 18:59:49 +08:00
admin 451f285916 feat(docs): add manual tests for chat quantity limit and Facebook login 2026-06-25 15:57:15 +08:00
admin d70e61f92e refactor(auth): switch to class-based social login and v4 route handler
Migrate from function-based social login helpers (`facebookLogin`, `googleLogin`)
to class-based services (`new FacebookLogin().signIn()`, `new GoogleLogin().signIn()`),
updating call sites in `AuthFacebookPanel` and `SplashButton` with try/catch error
handling. The NextAuth route handler is also refactored to the v4 pattern, importing
pre-built `GET` / `POST` exports from `@/lib/auth/nextauth` instead of constructing
the handler inline with `NextAuth(authOptions)`.
2026-06-10 15:34:52 +08:00