You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/cmd
wxiaoguang d3cdef88ad
Add some tests to clarify the "must-change-password" behavior (#30693)
Follow  #30472:

When a user is created by command line `./gitea admin user create`:

Old behavior before #30472: the first user (admin or non-admin) doesn't
need to change password.

Revert to the old behavior before #30472
1 week ago
..
actions.go Return `responseText` instead of string in some functions (#28836) 4 months ago
admin.go Simplify how git repositories are opened (#28937) 3 months ago
admin_auth.go chore: use errors.New to replace fmt.Errorf with no parameters will much better (#30621) 2 weeks ago
admin_auth_ldap.go Penultimate round of `db.DefaultContext` refactor (#27414) 7 months ago
admin_auth_ldap_test.go Penultimate round of `db.DefaultContext` refactor (#27414) 7 months ago
admin_auth_oauth.go chore: use errors.New to replace fmt.Errorf with no parameters will much better (#30621) 2 weeks ago
admin_auth_stmp.go chore: use errors.New to replace fmt.Errorf with no parameters will much better (#30621) 2 weeks ago
admin_regenerate.go Move some asymkey functions to service layer (#28894) 2 months ago
admin_user.go Refactor to use urfave/cli/v2 (#25959) 10 months ago
admin_user_change_password.go Add some tests to clarify the "must-change-password" behavior (#30693) 1 week ago
admin_user_create.go Add some tests to clarify the "must-change-password" behavior (#30693) 1 week ago
admin_user_create_test.go Add some tests to clarify the "must-change-password" behavior (#30693) 1 week ago
admin_user_delete.go chore: use errors.New to replace fmt.Errorf with no parameters will much better (#30621) 2 weeks ago
admin_user_generate_access_token.go chore: use errors.New to replace fmt.Errorf with no parameters will much better (#30621) 2 weeks ago
admin_user_list.go Reduce usage of `db.DefaultContext` (#27073) 8 months ago
admin_user_must_change_password.go Refactor to use urfave/cli/v2 (#25959) 10 months ago
cert.go Expanded minimum RSA Keylength to 3072 (#26604) 8 months ago
cmd.go Refactor to use urfave/cli/v2 (#25959) 10 months ago
docs.go Refactor to use urfave/cli/v2 (#25959) 10 months ago
doctor.go Move doctor package from modules to services (#28856) 4 months ago
doctor_convert.go Recommend/convert to use case-sensitive collation for MySQL/MSSQL (#28662) 4 months ago
doctor_test.go Move doctor package from modules to services (#28856) 4 months ago
dump.go Add --skip-db option to dump command (#30613) 2 weeks ago
dump_repo.go Refactor to use urfave/cli/v2 (#25959) 10 months ago
embedded.go chore: use errors.New to replace fmt.Errorf with no parameters will much better (#30621) 2 weeks ago
generate.go Refactor JWT secret generating & decoding code (#29172) 3 months ago
hook.go Enable more `revive` linter rules (#30608) 2 weeks ago
hook_test.go Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" (#23687) 1 year ago
keys.go Refactor cmd setup and remove deadcode (#29313) 2 months ago
mailer.go Return `responseText` instead of string in some functions (#28836) 4 months ago
main.go Add some tests to clarify the "must-change-password" behavior (#30693) 1 week ago
main_test.go Add some tests to clarify the "must-change-password" behavior (#30693) 1 week ago
manager.go Refactor to use urfave/cli/v2 (#25959) 10 months ago
manager_logging.go chore: use errors.New to replace fmt.Errorf with no parameters will much better (#30621) 2 weeks ago
migrate.go Refactor to use urfave/cli/v2 (#25959) 10 months ago
migrate_storage.go Fix migrate storage bug (#28830) 4 months ago
migrate_storage_test.go Another round of `db.DefaultContext` refactor (#27103) 7 months ago
restore_repo.go Refactor to use urfave/cli/v2 (#25959) 10 months ago
serv.go Refactor cmd setup and remove deadcode (#29313) 2 months ago
web.go Clean up log messages (#30313) 4 weeks ago
web_acme.go Implement FSFE REUSE for golang files (#21840) 1 year ago
web_graceful.go Implement FSFE REUSE for golang files (#21840) 1 year ago
web_https.go Implement FSFE REUSE for golang files (#21840) 1 year ago