Skip to content

History / How To: Allow users to sign in using their username or email address

Revisions

  • Adding parentesis to avoid false Warning: "Lint/AssignmentInCondition: Use == if you meant to do a comparison or wrap the expression in parentheses to indicate you meant to assign in a condition."

    @francescor francescor committed Dec 27, 2021
  • Add the `login` key to `sign_in` page

    @gosukiwi gosukiwi committed Feb 4, 2021
  • Remove link to old wiki page; Fix diff syntax highlighting

    @vfonic vfonic committed Oct 4, 2020
  • Small typo

    @jamesst20 jamesst20 committed Mar 25, 2020
  • No need to user attr_accessor or to create a duplicate an attr_writer

    @LucasArruda LucasArruda committed May 14, 2018
  • Updated How To: Allow users to sign in using their username or email address (markdown)

    @davidwparker davidwparker committed Jan 18, 2018
  • Updated How To: Allow users to sign in using their username or email address (markdown)

    Anoob Bava committed Jan 10, 2018
  • updated with ruby 1.9 Hash syntax

    Anoob Bava committed Jan 10, 2018
  • updated with ruby 1.9 Hash syntax

    Anoob Bava committed Jan 10, 2018
  • erased unnecessary double word

    @Tashows Tashows committed Aug 22, 2017
  • Updated How To: Allow users to sign in using their username or email address (markdown)

    @shreyas-n shreyas-n committed Nov 7, 2016
  • Updated How To: Allow users to sign in using their username or email address (markdown)

    @shreyas-n shreyas-n committed Nov 7, 2016
  • Second suggested username-email conflict validation still allows valid (unused) email addresses

    @ajw725 ajw725 committed Jul 29, 2016
  • Fixed a typo

    @sadfuzzy sadfuzzy committed Jul 24, 2016
  • Updated How To: Allow users to sign in using their username or email address (markdown)

    @soniaprevost soniaprevost committed May 25, 2016
  • Updated How To: Allow users to sign in using their username or email address (markdown)

    @soniaprevost soniaprevost committed May 25, 2016
  • Updated How To: Allow users to sign in using their username or email address (markdown)

    @soniaprevost soniaprevost committed May 25, 2016
  • Updated How To: Allow users to sign in using their username or email address (markdown)

    @soniaprevost soniaprevost committed May 25, 2016
  • Updated How To: Allow users to sign in using their username or email address (markdown)

    @soniaprevost soniaprevost committed May 25, 2016
  • Solve deprecation warning for devise 4.0

    @heliohead heliohead committed Apr 25, 2016
  • Fix typo

    @maratgaliev maratgaliev committed Mar 19, 2016
  • Updated How To: Allow users to sign in using their username or email address (markdown)

    @AmirolAhmad AmirolAhmad committed Jan 31, 2016
  • Updated How To: Allow users to sign in using their username or email address (markdown)

    @AmirolAhmad AmirolAhmad committed Jan 31, 2016
  • Update to Parameter Sanitizer API based on Rails 4

    @AmirolAhmad AmirolAhmad committed Jan 31, 2016
  • The old code had a vulnerability issue: if no login/username/email is passed in params, it will fetch the first user of database

    @rafaelsales rafaelsales committed Jan 14, 2016
  • Without `:multiline => true`, the validation brings up error: ArgumentError: The provided regular expression is using multiline anchors (^ or $), which may present a security risk. Did you mean to use \A and \z, or forgot to add the :multiline => true option?

    Brotaku committed Dec 19, 2015
  • Updated How To: Allow users to sign in using their username or email address (markdown)

    @kidlab kidlab committed Sep 26, 2015
  • authentication_keys is already in the yml files. This step is not necessary

    @leonardofaria leonardofaria committed Aug 23, 2015
  • to remain consistent with the rest of the tutorial

    @SebastienBatteur SebastienBatteur committed Jul 21, 2015
  • link to docs of methods such as find_for_database_authentication, improve formatting

    @roryokane roryokane committed Jul 2, 2015