forgejo/routers/admin
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 Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
admin_test.go Shadow the password on cache and session config on admin panel (#7300) 2019-06-27 00:12:38 +08:00
auths.go Restore PAM user autocreation functionality (#15825) (#15867) 2021-05-19 10:42:36 -04:00
emails.go migrate from com.* to alternatives (#14103) 2020-12-25 11:59:32 +02:00
hooks.go Merge default and system webhooks under one menu (#14244) 2021-01-15 01:24:03 +02:00
main_test.go Force user to change password (#4489) 2018-09-13 15:04:25 +03:00
notice.go migrate from com.* to alternatives (#14103) 2020-12-25 11:59:32 +02:00
orgs.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
repos.go Close the gitrepo when deleting the repository (#15876) (#15887) 2021-05-16 00:45:17 +03:00
users.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
users_test.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00