]> Untitled Git - lemmy.git/commit
Use enum for registration mode setting (#2604)
authorNutomic <me@nutomic.com>
Thu, 5 Jan 2023 01:42:30 +0000 (01:42 +0000)
committerGitHub <noreply@github.com>
Thu, 5 Jan 2023 01:42:30 +0000 (01:42 +0000)
commitceff2ec686094364cd452f10314d7239c8a9763c
tree13219459a1b9f5264ba4467ca09855282fbfd25d
parent0630d214e367355caa4b45ea1c2dbe3087e96ab9
Use enum for registration mode setting (#2604)

* Use enum for registration mode setting

* fix tests
17 files changed:
api_tests/package.json
api_tests/src/shared.ts
api_tests/yarn.lock
crates/api/src/local_user/change_password_after_reset.rs
crates/api_common/src/site.rs
crates/api_common/src/utils.rs
crates/api_crud/src/lib.rs
crates/api_crud/src/site/create.rs
crates/api_crud/src/site/mod.rs
crates/api_crud/src/site/update.rs
crates/api_crud/src/user/create.rs
crates/db_schema/src/impls/local_site.rs
crates/db_schema/src/schema.rs
crates/db_schema/src/source/local_site.rs
crates/routes/src/nodeinfo.rs
migrations/2022-12-05-110642_registration_mode/down.sql [new file with mode: 0644]
migrations/2022-12-05-110642_registration_mode/up.sql [new file with mode: 0644]