forked from forgejo/forgejo
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:
parent
538a26d56f
commit
f5fa22a499
7 changed files with 83 additions and 9 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue