Skip to content

Expose the OpenID registration setting at install time - #1365

Closed
strk wants to merge 1 commit into
go-gitea:masterfrom
strk:disable-openid-signup-install
Closed

Expose the OpenID registration setting at install time#1365
strk wants to merge 1 commit into
go-gitea:masterfrom
strk:disable-openid-signup-install

Conversation

@strk

@strk strk commented Mar 22, 2017

Copy link
Copy Markdown
Member

See #1363

To be honest, I don't really like this even myself :P

@strk

strk commented Mar 22, 2017

Copy link
Copy Markdown
Member Author

Ok don't merge this, I got a better idea.

@tboerger tboerger added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Mar 22, 2017
@strk

strk commented Mar 22, 2017

Copy link
Copy Markdown
Member Author

So @Schnouki I'm thinking that at installation time you'd still ony have a DISABLE_REGISTRATION setting, then at runtime you should be able to override it for just openid anyway, but by not specifying an explicit setting for it it owuld default to whatever the global specified.

@strk

strk commented Mar 22, 2017

Copy link
Copy Markdown
Member Author

Uhm, my idea is problematic because the DisableRegistration config variable is read in a different function than the place where EnableOpenIDRegistration is read.

@lunny

lunny commented Mar 22, 2017

Copy link
Copy Markdown
Member

Why we need another option to disable OpenID registered?

@strk

strk commented Mar 22, 2017

Copy link
Copy Markdown
Member Author

@lunny because some admins want to keep registration open only for those who can provide a valid OpenID identity

@strk

strk commented Mar 22, 2017

Copy link
Copy Markdown
Member Author

Ok see #1369 for an implementation of that idea of mine

@strk strk closed this Mar 22, 2017
@strk
strk deleted the disable-openid-signup-install branch April 10, 2017 19:47
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. type/bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants