Skip to content

Commit 2cbfca3

Browse files
committed
fix(routes): return verify route
1 parent ce2a7d2 commit 2cbfca3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/router.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ func Route(
143143
publicAPIRouter.Use(StoreMiddleware, JSONMiddleware)
144144

145145
publicAPIRouter.HandleFunc("/auth/login", login).Methods("GET", "POST")
146+
publicAPIRouter.HandleFunc("/auth/verify/email", startEmailVerification).Methods("POST")
146147
publicAPIRouter.HandleFunc("/auth/login/email", loginEmail).Methods("GET", "POST")
147148
publicAPIRouter.HandleFunc("/auth/login/email/resend", resendEmailOtp).Methods("GET", "POST")
148149
publicAPIRouter.HandleFunc("/auth/verify", verifySession).Methods("POST")

0 commit comments

Comments
 (0)