forgejo-federation/modules/context
zeripath a00974c3b8
When must change password only show Signout (#11600)
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>
2020-05-26 23:39:39 +01:00
..
api.go api.Context.NotFound(...) should tolerate nil (#11288) 2020-05-05 21:52:13 +03:00
api_org.go Golint fixed for modules/context 2016-11-25 14:53:59 +08:00
api_test.go fix API link header (#7298) 2019-06-26 16:51:32 +08:00
auth.go When must change password only show Signout (#11600) 2020-05-26 23:39:39 +01:00
context.go Prevent redirect to Host (#9678) 2020-01-09 16:34:25 -05:00
org.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
pagination.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
panic.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
permission.go Use Req.URL.RequestURI() to cope with FCGI urls (#9473) 2019-12-24 00:11:12 +00:00
repo.go Allow unauthenticated users to compare (#11240) 2020-05-04 19:44:30 -03:00