Skip to content

Issues related to login (and signup) #759

Closed

Description

@Didayolo

We summarize here the issues related to login (and signup).

1. Other login options

We should have the following login option:

2. Password recovery and change

We need to add new features (#706):

  • a password recovery option
  • a password change option

Fixed by #804

3. Problem with special characters

4. Chahub buttons not working

5. Confusing login error

The problem is that, when an account is not active (i.e. email not confirmed), the user receives this confusing error message when trying to login:

Capture d’écran 2023-01-23 à 18 52 09

While the error message should be something like "Please confirm your email [...]".

Last detail, the sentence "Note that both fields may be case sensitive" is unclear. If username is case sensitive, then we should write "Note that both fields are case sensitive".

6. Confirmation email not received

It seems that some users does not receive the confirmation email. We need to understand why.

7. Do not delete user account when confirmation fails

8. Prevent long usernames

  • We need a character limit (e.g. 30 chars) in username field

Done by #819

9. No terms of service

We can simply point to this page: https://github.com/codalab/codalab-competitions/wiki/Privacy with a required box field.

Done by #791.

Activity

  1. added
    P1
    on Jan 23, 2023
  2. Didayolo commented on Jan 23, 2023

    @Didayolo
    MemberAuthor

    I could not log into my active account, and it worked again after:

    docker-compose down
    docker-compose up -d
    

    This seems to be a seperate problem, and we still don't know what caused this issue.

  3. dtuantran commented on Jan 25, 2023

    @dtuantran
    Contributor

    We found this error in django :

    django_1          | Internal Server Error: /accounts/signup
    django_1          | Traceback (most recent call last):
    django_1          |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner
    django_1          |     response = get_response(request)
    django_1          |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 115, in _get_response
    django_1          |     response = self.process_exception_by_middleware(e, request)
    django_1          |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 113, in _get_response
    django_1          |     response = wrapped_callback(request, *callback_args, **callback_kwargs)
    django_1          |   File "/app/src/apps/profiles/views.py", line 120, in sign_up
    django_1          |     activateEmail(request, user, form.cleaned_data.get('email'))
    django_1          |   File "/app/src/apps/profiles/views.py", line 98, in activateEmail
    django_1          |     if email.send():
    django_1          |   File "/usr/local/lib/python3.8/site-packages/django/core/mail/message.py", line 306, in send
    django_1          |     return self.get_connection(fail_silently).send_messages([self])
    django_1          |   File "/usr/local/lib/python3.8/site-packages/django/core/mail/backends/smtp.py", line 103, in send_messages
    django_1          |     new_conn_created = self.open()
    django_1          |   File "/usr/local/lib/python3.8/site-packages/django/core/mail/backends/smtp.py", line 63, in open
    django_1          |     self.connection = self.connection_class(self.host, self.port, **connection_params)
    django_1          |   File "/usr/local/lib/python3.8/smtplib.py", line 253, in __init__
    django_1          |     (code, msg) = self.connect(host, port)
    django_1          |   File "/usr/local/lib/python3.8/smtplib.py", line 339, in connect
    django_1          |     self.sock = self._get_socket(host, port, self.timeout)
    django_1          |   File "/usr/local/lib/python3.8/smtplib.py", line 308, in _get_socket
    django_1          |     return socket.create_connection((host, port), timeout,
    django_1          |   File "/usr/local/lib/python3.8/socket.py", line 787, in create_connection
    django_1          |     for res in getaddrinfo(host, port, 0, SOCK_STREAM):
    django_1          |   File "/usr/local/lib/python3.8/socket.py", line 918, in getaddrinfo
    django_1          |     for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
    django_1          | socket.gaierror: [Errno -3] Temporary failure in name resolution
    
    
  4. Didayolo commented on Feb 15, 2023

    @Didayolo
    MemberAuthor
  5. Didayolo commented on Mar 15, 2023

    @Didayolo
    MemberAuthor

    Account deletion if bug??

    Fixed by #779

  6. Didayolo commented on Mar 21, 2023

    @Didayolo
    MemberAuthor

    If you have problem with signup/login please report here:

    • The username
    • The email address
    • The password (if possible)
    • The symptoms (red message, no email received, etc.)
  7. changed the title [-]Impossible to login[/-] [+]Issues related to login (and signup)[/+] on Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugP1

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions