mirror of
https://github.com/volatiletech/authboss.git
synced 2025-09-16 09:06:20 +02:00
file extension fix
This commit is contained in:
@@ -41,7 +41,7 @@ func (a *Auth) Initialize(c *authboss.Config) (err error) {
|
||||
}
|
||||
|
||||
var tpl *template.Template
|
||||
if tpl, err = template.New("login.html").Parse(string(data)); err != nil {
|
||||
if tpl, err = template.New("login.tpl").Parse(string(data)); err != nil {
|
||||
return err
|
||||
} else {
|
||||
a.loginPage = &bytes.Buffer{}
|
||||
|
Reference in New Issue
Block a user