fix: need to pass api name
This commit is contained in:
parent
be7a7977ac
commit
facea33e0e
|
@ -310,7 +310,7 @@ func (a AccountAPI) accountInfo(jc jape.Context) {
|
|||
}
|
||||
|
||||
func (a AccountAPI) logout(c jape.Context) {
|
||||
account.ClearAuthCookie(c, "")
|
||||
account.ClearAuthCookie(c, a.Name())
|
||||
}
|
||||
|
||||
func (a AccountAPI) uploadLimit(c jape.Context) {
|
||||
|
|
Loading…
Reference in New Issue