When must change password only show Signout (#11600) #11637

Merged
guillep2k merged 1 commits from backport-11600 into release/v1.12 2020-05-27 07:08:15 +00:00
guillep2k commented 2020-05-26 22:45:21 +00:00 (Migrated from github.com)

Backport for #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

Backport for #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>
lafriks (Migrated from github.com) approved these changes 2020-05-26 23:15:28 +00:00
zeripath approved these changes 2020-05-27 07:08:04 +00:00
This repo is archived. You cannot comment on pull requests.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: lunny/gitea#11637
No description provided.