forked from gitea/gitea
1
0
Fork 0
gitea/routers
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 Restore PAM user autocreation functionality (#15825) (#15867) 2021-05-19 10:42:36 -04:00
api/v1 Close the gitrepo when deleting the repository (#15876) (#15887) 2021-05-16 00:45:17 +03:00
dev Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
events Drop the event source if we are unauthorized (#15275) (#15280) 2021-04-04 20:39:22 -04:00
org Organization removal confirmation using name not password (#14738) 2021-03-01 16:33:05 +02:00
private Move restore repo to internal router and invoke from command to avoid open the same db file or queues files (#15790) (#15816) 2021-05-10 21:14:59 +08:00
repo Close the gitrepo when deleting the repository (#15876) (#15887) 2021-05-16 00:45:17 +03:00
routes Return go-get info on subdirs (#15642) (#15871) 2021-05-15 12:06:02 +01:00
user Fixed several activation bugs (#15473) (#15685) 2021-04-30 20:14:36 -04:00
utils Clarify the suffices and prefixes of setting.AppSubURL and setting.AppURL (#12999) 2021-02-19 22:36:43 +01:00
home.go Add ui.explore settings to control view of explore pages (2) (#14094) 2021-03-11 13:40:54 +00:00
init.go Print usefull error if SQLite is used in settings but not supported (#14476) 2021-01-27 04:57:18 +01:00
install.go Add SameSite setting for cookies (#14900) 2021-03-07 08:12:43 +00:00
metrics.go Move metrics from macaron to chi (#13601) 2020-11-17 15:50:06 -05:00
swagger_json.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00