GetOrganization to get organization object
(cfg *config.Config)
| 63 | |
| 64 | // GetOrganization to get organization object |
| 65 | func GetOrganization(cfg *config.Config) map[string]interface{} { |
| 66 | orgLogo := cfg.OrganizationLogo |
| 67 | orgName := cfg.OrganizationName |
| 68 | organization := map[string]interface{}{ |
| 69 | "name": orgName, |
| 70 | "logo": orgLogo, |
| 71 | } |
| 72 | |
| 73 | return organization |
| 74 | } |
| 75 | |
| 76 | // GetForgotPasswordURL to get url for given token and hostname |
| 77 | func GetForgotPasswordURL(token, redirectURI string) string { |
no outgoing calls
no test coverage detected