don't bump internally
This commit is contained in:
parent
1a31bb6b30
commit
1b18ede09c
2
main.go
2
main.go
|
@ -112,7 +112,6 @@ func Login(username, password string) bool {
|
|||
return false
|
||||
}
|
||||
log.Printf("User %s logged in\n", username)
|
||||
Bump(username)
|
||||
return true
|
||||
}
|
||||
|
||||
|
@ -135,7 +134,6 @@ func ChangePassword(username, oldpass, newpass string) bool {
|
|||
log.Printf("scsusers.ChangePassword: update failed for %s: %s\n", username, err.Error())
|
||||
return false
|
||||
}
|
||||
Bump(username)
|
||||
return true
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue