Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Updating guardpost with the retrieved permissions #531

Merged
merged 1 commit into from
Nov 11, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Emitron/Emitron/Sessions/SessionController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ class SessionController: NSObject, UserModelController, ObservablePrePostFactoOb
// Update the user
self.user = user.with(permissions: permissions)
// Ensure guardpost is aware, and hence the keychain is updated
self.guardpost.updateUser(with: user)
self.guardpost.updateUser(with: self.user)
}
}
}
Expand Down