mirror of
https://github.com/pushbits/server.git
synced 2025-07-31 07:09:28 +02:00
Add scans with gosec
This commit is contained in:
parent
56f39cf64c
commit
5cd3627dc6
8 changed files with 47 additions and 12 deletions
|
@ -44,7 +44,11 @@ func Create(homeserver, username, password string, formatting configuration.Form
|
|||
func (d *Dispatcher) Close() {
|
||||
log.Printf("Logging out.")
|
||||
|
||||
d.client.Logout()
|
||||
_, err := d.client.Logout()
|
||||
if err != nil {
|
||||
log.Printf("Error while logging out: %s", err)
|
||||
}
|
||||
|
||||
d.client.ClearCredentials()
|
||||
|
||||
log.Printf("Successfully logged out.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue