MahjongPantheon / pantheon

Primary Pantheon project repository
https://riichimahjong.org
GNU General Public License v3.0
43 stars 12 forks source link

Incorrect priority of storage engines #285

Closed ctizen closed 1 year ago

ctizen commented 1 year ago

LocalStorage has first priority while cookies have secondary. See https://github.com/MahjongPantheon/pantheon/blob/b667407c9556f4128d567ebf38eac65f37401911/Tyr/app/services/idb/index.ts#L81

This leads to some undesirable behavior after password reset:

Also check domain of cookies for Tyr and Rheda: the domain should be exactly .riichi.top everywhere (started with dot)

ctizen commented 1 year ago

Should be fixed now