Remove toggle_confirmation; require explicit state change
authorMark Felder <feld@FreeBSD.org>
Tue, 13 Oct 2020 21:07:36 +0000 (16:07 -0500)
committerMark Felder <feld@feld.me>
Fri, 15 Jan 2021 19:11:51 +0000 (13:11 -0600)
commit2c0fe2ea9e32d01caa1bc31093a7ddfdc2793659
treef44e0424c4acbd09c16efaf082576d265490d39a
parentd36182c08892723b53e801a564531ee7a463052f
Remove toggle_confirmation; require explicit state change

Also cosmetic changes to make the code clearer
lib/mix/tasks/pleroma/user.ex
lib/pleroma/user.ex
lib/pleroma/web/auth/pleroma_authenticator.ex
priv/repo/migrations/20201231185546_confirm_logged_in_users.exs
test/mix/tasks/pleroma/user_test.exs
test/pleroma/repo/migrations/confirm_logged_in_users_test.exs
test/pleroma/user_test.exs
test/pleroma/web/admin_api/controllers/admin_api_controller_test.exs
test/pleroma/web/o_auth/o_auth_controller_test.exs
test/pleroma/web/pleroma_api/controllers/account_controller_test.exs
test/pleroma/web/twitter_api/controller_test.exs