gitbucket / gitbucket

A Git platform powered by Scala with easy installation, high extensibility & GitHub API compatibility

Home Page:https://gitbucket.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to password protect web access to a Gitbucket installation?

sdbbs opened this issue · comments

commented

I have been comparing two installs of GitBucket, both 4.37.1, but on different NAS devices.

The one instance (which I installed myself), shows the full News Feed when I visit the webpage via, say, http://[hostname]:8080/ in my browser - and there is a "Sign in" button, which indicates that I am not yet logged in:

image

However, if I do the same on the other instance (which someone else installed) - if I am not already logged in, I get a username/password login ("Sign In") form instead, when I visit http://[hostname]:8080/ in my browser:

image

How do I control this behavior on a GitBucket installation? That is, how can I enable password protection for a web(page) access to a GitBucket installation?

commented

OK, I got it - it is under (top-right submenu of logged in administrator)/System administration/System settings/Anonymous access:

image

It should be on "Deny" (remember to scroll down and hit "Apply changes" if you want a login form on the stating webpage.

So - this issue is solved for me, but I'll leave it open for now to increase visibility.