mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Fix prohibit login check on authorization (#6106)
* fix bug prohibit login not applied on dashboard * fix tests * fix bug user status leak * fix typo * return after render
This commit is contained in:
@@ -104,7 +104,7 @@ func TestViewRepoWithSymlinks(t *testing.T) {
|
||||
func TestViewAsRepoAdmin(t *testing.T) {
|
||||
for user, expectedNoDescription := range map[string]bool{
|
||||
"user2": true,
|
||||
"user3": false,
|
||||
"user4": false,
|
||||
} {
|
||||
prepareTestEnv(t)
|
||||
|
||||
|
Reference in New Issue
Block a user