Skip to content
This repository has been archived by the owner on Nov 12, 2023. It is now read-only.

Commit

Permalink
Update accountManager.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio1988 authored Mar 31, 2023
1 parent f9f62c0 commit fea1ff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accounts/accountManager.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ func (a *AccountManager) MarkDisabled(username string) {

for x := range a.accounts {
if a.accounts[x].Username == username {
a.accounts[x].Disabled = true

a.accounts[x].LastDisabled = null.IntFrom(time.Now().Unix())
}
}
Expand Down

0 comments on commit fea1ff7

Please sign in to comment.