debian-mirror-gitlab/app/views/notify/unknown_sign_in_email.text.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
819 B
Text
Raw Normal View History

2023-05-27 22:25:52 +05:30
= _('Hi %{user_name} (%{user_username})!') % { user_name: sanitize_name(@user.name), user_username: @user.username }
2020-05-24 23:13:21 +05:30
= _('A sign-in to your account has been made from the following IP address: %{ip}') % { ip: @ip }
= _('If you recently signed in and recognize the IP address, you may disregard this email.')
2023-04-23 21:23:45 +05:30
= _('If you did not recently sign in, you should immediately change your password: %{password_link}.') % { password_link: help_page_url('user/profile/user_passwords', anchor: 'change-your-password') }
2020-05-24 23:13:21 +05:30
= _('Passwords should be unique and not used for any other sites or services.')
- unless @user.two_factor_enabled?
2023-04-23 21:23:45 +05:30
= _('To further protect your account, consider configuring a two-factor authentication method: %{mfa_link}.') % { mfa_link: help_page_url('user/profile/account/two_factor_authentication') }