This site uses cookies. By continuing to browse the site, you agree to our use of cookies. Find out more about cookies.
Skip to main content
Metadecidim's official logo
  • English Triar la llengua Elegir el idioma Choose language
    • Català
    • Castellano
Sign Up Sign In
  • Home
  • Processes
  • Assemblies
  • Initiatives
  • Consultations
  • Conferences
  • Help

Report a Bug

#BugReportDecidim Let's test Decidim and report bugs together

  • The process
  • I found a Bug!
chevron-left Back to list

Email is case-sensitive during sign-in

Avatar: Participant deleted
21/02/2019 14:08  
Accepted

1. What went wrong?

A user tried to login with an email in upper case, but it failed because the email wasn't found.

2. What did you expect to happen?

I expected the email to be case insensitive and the login to success, in particular because Devise seems to be configured like this (see https://github.com/decidim/decidim/blob/master/decidim-core/config/initializers/devise.rb#L54). It is in fact a bug in the User model (https://github.com/decidim/decidim/blob/master/decidim-core/app/models/decidim/user.rb#L120-L126)

3. Where did you found this bug (which site)?

On MetaDecidim and during development

4. Thanks :)

  • Filter results for category: 0.16.x 0.16.x

This proposal has been accepted because:

This incidence has been solved. Closed via #4926.

Thank you for contributing!

Endorsements count0
Email is case-sensitive during sign-in Comments 0

Reference: MDC-PROP-2019-02-14273
Version number 1 (of 1) see other versions
Check fingerprint

Fingerprint

The piece of text below is a shortened, hashed representation of this content. It's useful to ensure the content hasn't been tampered with, as a single modification would result in a totally different value.

Value: 3ee6f42fa6e1b59e60ffaed7426f2a4b57c8a9447fdd935795a2c47bc328095c

Source: {"body":{"en":"1. What went wrong?\r\n\r\nA user tried to login with an email in upper case, but it failed because the email wasn't found.\r\n\r\n2. What did you expect to happen?\r\n\r\nI expected the email to be case insensitive and the login to success, in particular because Devise seems to be configured like this (see https://github.com/decidim/decidim/blob/master/decidim-core/config/initializers/devise.rb#L54). It is in fact a bug in the User model (https://github.com/decidim/decidim/blob/master/decidim-core/app/models/decidim/user.rb#L120-L126)\r\n\r\n3. Where did you found this bug (which site)?\r\n\r\nOn MetaDecidim and during development\r\n\r\n4. Thanks :)"},"title":{"en":"Email is case-sensitive during sign-in"}}

This fingerprint is calculated using a SHA256 hashing algorithm. In order to replicate it yourself, you can use an MD5 calculator online and copy-paste the source data.

Share:

link-intact Share link

Share link:

Please paste this code in your page:

<script src="https://meta.decidim.org/processes/bug-report/f/210/proposals/14273/embed.js"></script>
<noscript><iframe src="https://meta.decidim.org/processes/bug-report/f/210/proposals/14273/embed.html" frameborder="0" scrolling="vertical"></iframe></noscript>

Report inappropriate content

Is this content inappropriate?

Reason

0 comments

Order by:
  • Older
    • Best rated
    • Recent
    • Older
    • Most discussed

Add your comment

Sign in with your account or sign up to add your comment.

Loading comments ...

  • Terms and conditions of use
  • About the community
  • Download Open Data files
  • Metadecidim at Twitter Twitter
  • Metadecidim at Instagram Instagram
  • Metadecidim at YouTube YouTube
  • Metadecidim at GitHub GitHub
Creative Commons License Website made with free software.
Decidim Logo

Confirm

OK Cancel

Please sign in

decidim Sign in with Decidim
Or

Sign up

Forgot your password?