17 lines
362 B
Go
17 lines
362 B
Go
|
package auth
|
||
|
|
||
|
import (
|
||
|
"net/http"
|
||
|
|
||
|
"forge.cadoles.com/wpetit/clearcase/internal/http/handler/webui/auth/component"
|
||
|
"github.com/a-h/templ"
|
||
|
)
|
||
|
|
||
|
func (h *Handler) getLoginPage(w http.ResponseWriter, r *http.Request) {
|
||
|
vmodel := component.LoginPageVModel{
|
||
|
Providers: h.providers,
|
||
|
}
|
||
|
login := component.LoginPage(vmodel)
|
||
|
templ.Handler(login).ServeHTTP(w, r)
|
||
|
}
|