mirror of https://github.com/go-gitea/gitea.git
Browse Source
This PR fixed a bug when the user switching pages too fast, he will logout automatically. The reason is that when the error is context cancelled, the previous code think user hasn't login then the session will be deleted. Now it will return the errors but not think it's not login. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>pull/30061/head
1 changed files with 9 additions and 17 deletions
Loading…
Reference in new issue