Include OAuth buttons on signup-via-invite page
This commit is contained in:
parent
455e50c9a8
commit
7a09a47de2
|
@ -92,7 +92,7 @@ func initPage(parentDir, path, key string) {
|
||||||
filepath.Join(parentDir, templatesDir, "user", "include", "silenced.tmpl"),
|
filepath.Join(parentDir, templatesDir, "user", "include", "silenced.tmpl"),
|
||||||
}
|
}
|
||||||
|
|
||||||
if key == "login.tmpl" || key == "landing.tmpl" {
|
if key == "login.tmpl" || key == "landing.tmpl" || key == "signup.tmpl" {
|
||||||
files = append(files, filepath.Join(parentDir, templatesDir, "include", "oauth.tmpl"))
|
files = append(files, filepath.Join(parentDir, templatesDir, "include", "oauth.tmpl"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue