1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-08 17:55:59 +01:00

Fix error handling in maketoken.

This commit is contained in:
Juliusz Chroboczek 2023-05-04 03:31:09 +02:00
parent 2c852206bd
commit 76066a1a10

View file

@ -1714,7 +1714,7 @@ func handleClientMessage(c *webClient, m clientMessage) error {
}
tok, err := parseStatefulToken(m.Value)
if err != nil {
return terror("not-authorised", "not authorised")
return terror("error", err.Error())
}
if tok.Token == "" {