Skip to content

Commit

Permalink
add device owner verification for 'password & account'
Browse files Browse the repository at this point in the history
  • Loading branch information
r10s committed Oct 19, 2024
1 parent c66f4eb commit 76e7a75
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,12 @@ internal final class AdvancedViewController: UITableViewController {

case .videoChat: showVideoChatInstance()
case .viewLog: showLogViewController()
case .accountSettings: showAccountSettingsController()

case .accountSettings:
Utils.authenticateDeviceOwner(reason: String.localized("pref_password_and_account_settings")) { [weak self] in
self?.showAccountSettingsController()
}

case .defaultTagValue: break
}
}
Expand Down

0 comments on commit 76e7a75

Please sign in to comment.