]> cat aescling's git repositories - mastodon.git/commit
Add ability to skip sign-in token authentication for specific users (#16427)
authorEugen Rochko <eugen@zeonfederated.com>
Thu, 8 Jul 2021 03:31:28 +0000 (05:31 +0200)
committerGitHub <noreply@github.com>
Thu, 8 Jul 2021 03:31:28 +0000 (05:31 +0200)
commit771c9d4ba87a388dc306c58139d11bf510680c98
treeaca7d7031d7b462b27af6b47e2099ace81be1beb
parent2e0eac71ddf0f5b61b6e395f57b7bc3f805cbf87
Add ability to skip sign-in token authentication for specific users (#16427)

Remove "active within last two weeks" exception for sign in token requirement

Change admin reset password to lock access until the password is reset
14 files changed:
app/controllers/admin/resets_controller.rb
app/controllers/admin/sign_in_token_authentications_controller.rb [new file with mode: 0644]
app/controllers/admin/two_factor_authentications_controller.rb
app/models/user.rb
app/policies/user_policy.rb
app/views/admin/accounts/show.html.haml
config/locales/en.yml
config/routes.rb
db/migrate/20210621221010_add_skip_sign_in_token_to_users.rb [new file with mode: 0644]
db/schema.rb
lib/mastodon/accounts_cli.rb
spec/controllers/admin/resets_controller_spec.rb
spec/controllers/admin/two_factor_authentications_controller_spec.rb
spec/models/user_spec.rb