Use random session IDs instead of jwt
This commit is contained in:
parent
6f0ea05f4b
commit
0648b67cb8
26 changed files with 45 additions and 1622 deletions
|
@ -20,13 +20,6 @@ var clearCmd = &cobra.Command{
|
|||
log.Println(err)
|
||||
}
|
||||
|
||||
err = os.RemoveAll(storage.Path.HMACKey())
|
||||
if err == nil || os.IsNotExist(err) {
|
||||
log.Println("HMAC key cleared")
|
||||
} else {
|
||||
log.Println(err)
|
||||
}
|
||||
|
||||
err = os.RemoveAll(storage.Path.Users())
|
||||
if err == nil {
|
||||
log.Println("User data cleared")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue