Skip to content
Snippets Groups Projects
  1. Mar 18, 2020
  2. Mar 11, 2020
  3. Jan 30, 2020
  4. Jan 27, 2020
  5. Nov 01, 2019
  6. Oct 23, 2019
  7. Oct 10, 2019
  8. Jul 31, 2019
    • mksionek's avatar
      Add captcha if there are multiple failed login attempts · dfcf4cf5
      mksionek authored
      Add method to store session ids by ip
      
      Add new specs for storing session ids
      
      Add cleaning up records after login
      
      Add retrieving anonymous sessions
      
      Add login recaptcha setting
      
      Add new setting to sessions controller
      
      Add conditions for showing captcha
      
      Add sessions controller specs
      
      Add admin settings specs for login protection
      
      Add new settings to api
      
      Add stub to devise spec
      
      Add new translation key
      
      Add cr remarks
      
      Rename class call
      
      Add cr remarks
      
      Change if-clause for consistency
      
      Add cr remarks
      
      Add code review remarks
      
      Refactor AnonymousSession class
      
      Add changelog entry
      
      Move AnonymousSession class to lib
      
      Move store unauthenticated sessions to sessions controller
      
      Move link to recaptcha info
      
      Regenerate text file
      
      Improve copy on the spam page
      
      Change action filter for storing anonymous sessions
      
      Fix rubocop offences
      
      Add code review remarks
      dfcf4cf5
  9. May 21, 2019
  10. Apr 15, 2019
  11. Dec 18, 2018
    • blackst0ne's avatar
      Update specs to rails5 format · b44a2c80
      blackst0ne authored
      Updates specs to use new rails5 format.
      
      The old format:
      `get :show, { some: params }, { some: headers }`
      
      The new format:
      `get :show, params: { some: params }, headers: { some: headers }`
      b44a2c80
  12. Nov 15, 2018
  13. Jul 18, 2018
  14. Jul 03, 2018
  15. Jun 21, 2018
  16. Jun 16, 2018
  17. May 04, 2018
    • Bob Van Landuyt's avatar
      Reuses `InternalRedirect` when possible · 39916fdf
      Bob Van Landuyt authored
      `InternalRedirect` prevents Open redirect issues by only allowing
      redirection to paths on the same host.
      
      It cleans up any unwanted strings from the path that could point to
      another host (fe. //about.gitlab.com/hello). While preserving the
      querystring and fragment of the uri.
      
      It is already used by:
      
      - `TermsController`
      - `ContinueParams`
        - `ImportsController`
        - `ForksController`
      - `SessionsController`: Only for verifying the host in CE. EE allows
         redirecting to a different instance using Geo.
      39916fdf
  18. Oct 20, 2017
  19. Jul 20, 2017
  20. Jul 11, 2017
  21. Jun 21, 2017
  22. Jun 14, 2017
  23. Jun 02, 2017
  24. Apr 14, 2017
  25. Apr 02, 2017
  26. Mar 06, 2017
  27. Feb 23, 2017
  28. Dec 07, 2016
    • jnoortheen's avatar
      fix: 24982- Remove'Signed in successfully' message · 6ab74b1c
      jnoortheen authored
      After this change the sign-in-success flash message will not be shown
      
      refactor: set flash message to be nil while signing in
      
      test: changed tests to reflect removal of sign-in message
      
      refactor: adding signed_in message back
      
      See Merge Request !7837
      
      issue#24982
      6ab74b1c
  29. Oct 04, 2016
    • Sean McGivern's avatar
      Restrict failed login attempts for users with 2FA · 194fbc3c
      Sean McGivern authored
      Copy logic from `Devise::Models::Lockable#valid_for_authentication?`, as
      our custom login flow with two pages doesn't call this method. This will
      increment the failed login counter, and lock the user's account once
      they exceed the number of failed attempts.
      
      Also ensure that users who are locked can't continue to submit 2FA
      codes.
      194fbc3c
  30. Sep 02, 2016
  31. Jun 06, 2016
  32. Jun 03, 2016
Loading