Skip to content

Commit

Permalink
Refresh does not change next password check time #88
Browse files Browse the repository at this point in the history
  • Loading branch information
twocanoes committed Dec 17, 2023
1 parent 2774028 commit fdcd94b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion XCreds/MainController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class MainController: NSObject, NoMADUserSessionDelegate {
// don't need to save it. just need to prompt and it gets saved
// in the keychain

let domainName = Defa ultsOverride.standardOverride.string(forKey: PrefKeys.aDDomain.rawValue)
let domainName = DefaultsOverride.standardOverride.string(forKey: PrefKeys.aDDomain.rawValue)

if let _ = domainName, passwordCheckTimer == nil {
checkPasswordExpire()
Expand Down
1 change: 1 addition & 0 deletions XCreds/MenuItems.swift
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ class SignInMenuItem: NSMenuItem {

@objc func doAction() {

ScheduleManager.shared.setNextCheckTime()
if DefaultsOverride.standardOverride.value(forKey: PrefKeys.discoveryURL.rawValue) != nil && DefaultsOverride.standardOverride.value(forKey: PrefKeys.clientID.rawValue) != nil {
// if (sharedMainMenu.webViewController==nil){
// windowController = DesktopLoginWindowController(windowNibName: "DesktopLoginWindowController")
Expand Down
Binary file not shown.

0 comments on commit fdcd94b

Please sign in to comment.