DEVELOPMENT ENVIRONMENT

~liljamo/tixe

ref: d450fba0e13436d25f1206a698b4dc3a65c26a94 tixe/handlers/login.go -rw-r--r-- 340 bytes
d450fba0Jonni Liljamo feat: tag management thingy 1 year, 23 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)
}