Skip to content

Commit

Permalink
Fix brand configuration if no single sign on is configured
Browse files Browse the repository at this point in the history
  • Loading branch information
mathebox committed Nov 30, 2018
1 parent 0286dc5 commit 7622090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Common/Branding/Brand.swift
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public struct Brand: Decodable {
self.host = try container.decode(String.self, forKey: .host)
self.imprintURL = try container.decodeURL(forKey: .imprintURL)
self.privacyURL = try container.decodeURL(forKey: .privacyURL)
self.singleSignOn = try container.decode(SingleSignOnConfiguration.self, forKey: .singleSignOn)
self.singleSignOn = try? container.decode(SingleSignOnConfiguration.self, forKey: .singleSignOn)
self.copyrightName = try container.decode(String.self, forKey: .copyrightName)
self.poweredByText = try container.decodeIfPresent(String.self, forKey: .poweredByText)
self.colors = try container.decode(BrandColors.self, forKey: .colors)
Expand Down

0 comments on commit 7622090

Please sign in to comment.