mirror of
https://github.com/unmojang/drasl.git
synced 2025-08-03 19:06:04 -04:00
session: fix inverted behavior of 'unsigned' query param
This commit is contained in:
parent
240bfd353f
commit
46f500f153
@ -143,7 +143,7 @@ func SessionProfile(app *App) func(c echo.Context) error {
|
|||||||
return result.Error
|
return result.Error
|
||||||
}
|
}
|
||||||
|
|
||||||
sign := c.QueryParam("unsigned") != "false"
|
sign := c.QueryParam("unsigned") == "false"
|
||||||
profile, err := fullProfile(app, &user, sign)
|
profile, err := fullProfile(app, &user, sign)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
x
Reference in New Issue
Block a user