Skip to content

Commit

Permalink
Add keychain access level
Browse files Browse the repository at this point in the history
  • Loading branch information
SandroMachado committed Nov 20, 2017
1 parent 3abf3f0 commit dfbbaa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Client/SessionManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ open class SessionManager {
self.invalidateSession()

_ = self.lockQueue.sync {
self.keychain.set(token, forKey: SessionManager.KEYCHAIN_TOKEN_KEY)
self.keychain.set(token, forKey: SessionManager.KEYCHAIN_TOKEN_KEY, withAccess: .accessibleAfterFirstUnlock)
}
}

Expand Down

0 comments on commit dfbbaa1

Please sign in to comment.