mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-02 19:40:19 +08:00
fix: improvde code logic (#285)
Signed-off-by: sh1luo <690898835@qq.com>
This commit is contained in:
@ -269,7 +269,8 @@ func AddUsersSafe(users []*User) bool {
|
||||
}
|
||||
|
||||
tmp := users[start:end]
|
||||
fmt.Printf("Add users: [%d - %d].\n", start, end)
|
||||
// TODO: save to log instead of standard output
|
||||
// fmt.Printf("Add users: [%d - %d].\n", start, end)
|
||||
if AddUsers(tmp) {
|
||||
affected = true
|
||||
}
|
||||
|
Reference in New Issue
Block a user