forked from gitea/gitea
1
0
Fork 0
gitea/routers/user
guillep2k 600bb545f3 When must change password only show Signout (#11600) (#11637)
When "Must Change Password" simplify the navbar header to only show the
signout button as all other links will redirect back. This prevents the
notifications icon from showing preventing initialization of the
event-source and hence preventing redirect_to being set, however in
addition do not set the redirect_to cookie if we are looking at the
/user/events page.

Fix #11554

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: zeripath <art27@cantab.net>
2020-05-27 08:08:14 +01:00
..
setting Whenever the ctx.Session is updated, release it to save it before sending the redirect (#11456) 2020-05-17 15:43:29 +03:00
auth.go When must change password only show Signout (#11600) (#11637) 2020-05-27 08:08:14 +01:00
auth_openid.go Whenever the ctx.Session is updated, release it to save it before sending the redirect (#11456) 2020-05-17 15:43:29 +03:00
avatar.go make avatar lookup occur at image request (#10540) 2020-03-27 14:34:39 +02:00
home.go Fix ref links in issue overviews for tags (#8742) 2020-05-14 18:55:43 -04:00
home_test.go Fix milestones too many SQL variables bug (#10880) 2020-03-31 10:47:00 +03:00
main_test.go Unit tests for wiki routers (#3022) 2017-11-30 17:52:15 +02:00
notification.go Use AJAX for notifications table (#10961) 2020-04-24 00:57:38 -03:00
oauth.go Whenever the ctx.Session is updated, release it to save it before sending the redirect (#11456) 2020-05-17 15:43:29 +03:00
profile.go Language statistics bar for repositories (#8037) 2020-02-11 11:34:17 +02:00