This repository has been archived on 2023-02-01. You can view files and clone it, but cannot push or open issues or pull requests.
gitea/modules/forms
zeripath 159bc8842a
Restore PAM user autocreation functionality (#15825) (#15867)
Backport #15825

* Restore PAM user autocreation functionality

PAM autoregistration of users currently fails due to email invalidity.
This PR adds a new setting to PAM to allow an email domain to be set
or just sets the email to the noreply address and if that fails falls
back to uuid@localhost

Fix #15702

Signed-off-by: Andrew Thornton <art27@cantab.net>

* As per KN4CKER

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: 6543 <6543@obermui.de>
2021-05-19 10:42:36 -04:00
..
admin.go Move middlewares to web/middleware (#14480) 2021-01-30 10:55:53 +02:00
auth_form.go Restore PAM user autocreation functionality (#15825) (#15867) 2021-05-19 10:42:36 -04:00
org.go Move middlewares to web/middleware (#14480) 2021-01-30 10:55:53 +02:00
repo_branch_form.go Create tag on ui (#13467) 2021-02-28 19:57:45 +00:00
repo_form.go Move repo.CloseIssuesViaCommitInAnyBranch to issue settings (#14965) 2021-03-16 02:00:52 +01:00
repo_form_test.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
user_form.go Add Password Algorithm option to install page (#14701) 2021-02-16 23:37:20 +01:00
user_form_auth_openid.go Move middlewares to web/middleware (#14480) 2021-01-30 10:55:53 +02:00
user_form_test.go Allow blocking some email domains from registering an account (#14667) 2021-02-15 00:31:29 +01:00