Add ProviderName field; use in sign_in template

This commit is contained in:
Mike Bland
2015-03-31 12:59:07 -04:00
parent 0136ab01fd
commit 666e6ad436
5 changed files with 16 additions and 9 deletions
+1
View File
@@ -13,6 +13,7 @@ type GoogleProvider struct {
}
func NewGoogleProvider(p *ProviderData) *GoogleProvider {
p.ProviderName = "Google"
if p.LoginUrl.String() == "" {
p.LoginUrl = &url.URL{Scheme: "https",
Host: "accounts.google.com",