DEVELOPMENT ENVIRONMENT

~liljamo/tixe

ref: ce1418144772b35371c69f577d48d7d3adab06f4 tixe/handlers/login.go -rw-r--r-- 340 bytes
ce141814Jonni Liljamo feat: tab title, tailwind reformat, a todo 1 year, 28 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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{}{"title": "login","notauthed": true, "oidcloginvisual": config.TixeConfig.OidcLoginVisual})
	c.Data(http.StatusOK, "text/html", html)
}