mirror of
https://github.com/jech/galene.git
synced 2024-11-09 18:25:58 +01:00
Fix error handling in maketoken.
This commit is contained in:
parent
2c852206bd
commit
76066a1a10
1 changed files with 1 additions and 1 deletions
|
@ -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 == "" {
|
||||
|
|
Loading…
Reference in a new issue