]> cat aescling's git repositories - mastodon.git/commit
Remove sign-in token authentication, instead send e-mail about new sign-in (#17970)
authorEugen Rochko <eugen@zeonfederated.com>
Wed, 6 Apr 2022 18:58:12 +0000 (20:58 +0200)
committerGitHub <noreply@github.com>
Wed, 6 Apr 2022 18:58:12 +0000 (20:58 +0200)
commit6221b36b278c02cdbf5b6d1c0753654b506b44fd
treef4a8ea0e6636445dfe8417beceaa0cf69476169f
parentabb11778d7d9ac04fe1feeccf5cefc6d2ed58780
Remove sign-in token authentication, instead send e-mail about new sign-in (#17970)
18 files changed:
app/controllers/admin/sign_in_token_authentications_controller.rb [deleted file]
app/controllers/auth/sessions_controller.rb
app/controllers/concerns/sign_in_token_authentication_concern.rb [deleted file]
app/javascript/styles/mailer.scss
app/lib/suspicious_sign_in_detector.rb [new file with mode: 0644]
app/mailers/user_mailer.rb
app/models/user.rb
app/policies/user_policy.rb
app/views/admin/accounts/show.html.haml
app/views/auth/sessions/sign_in_token.html.haml [deleted file]
app/views/user_mailer/suspicious_sign_in.html.haml [moved from app/views/user_mailer/sign_in_token.html.haml with 55% similarity]
app/views/user_mailer/suspicious_sign_in.text.erb [moved from app/views/user_mailer/sign_in_token.text.erb with 56% similarity]
config/locales/en.yml
config/routes.rb
lib/mastodon/accounts_cli.rb
spec/controllers/auth/sessions_controller_spec.rb
spec/lib/suspicious_sign_in_detector_spec.rb [new file with mode: 0644]
spec/mailers/previews/user_mailer_preview.rb