package handlers
import (
	"net/http"
	"tixe/config"
	"tixe/template"
	"github.com/gin-gonic/gin"
)
func Login(c *gin.Context) {
	html := template.TmplEngine.Render("login.tmpl", map[string]interface{}{"notauthed": true, "oidcloginvisual": config.TixeConfig.OidcLoginVisual})
	c.Data(http.StatusOK, "text/html", html)
}