#73 copy sign in form from other branch and some renaming
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 47s
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 47s
This commit is contained in:
18
service/auth.go
Normal file
18
service/auth.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package service
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"me-fit/template"
|
||||
"me-fit/template/auth"
|
||||
)
|
||||
|
||||
func SignInPage(w http.ResponseWriter, r *http.Request) {
|
||||
signIn := auth.SignIn()
|
||||
template.Layout(signIn).Render(r.Context(), w)
|
||||
}
|
||||
|
||||
// func SignUpPage(w http.ResponseWriter, r *http.Request) {
|
||||
// signIn := auth.SignUp()
|
||||
// template.Layout(signIn).Render(r.Context(), w)
|
||||
// }
|
||||
Reference in New Issue
Block a user