Skip to content

Account activation fails, token expired #819

@bwulff

Description

@bwulff

Steps to Reproduce

  1. login as admin
  2. create an account by entering an email address under /admin/register
  3. open the mail send by sharelatex and click on the activation link
  4. enter a password for the new account

Expected Behaviour

Account is activated and user can use sharelatex.

Observed Behaviour

A red error box appears indicating that "the token has already expired", even though the token was generated seconds before.

Context

Creating user accounts for my colleagues after setting up the deployment according to the Quick Start guide and with the docker-compose.yml from this repo.

Technical Info

  • URL: company internal
  • Browser Name and version: FireFox 81.0.1
  • Operating System and version (desktop or mobile): macOS 10.14.16
  • Docker Host OS: Ubuntu 18.04
  • Docker: 19.03.04
  • docker-compose: 1.27.4
  • Image: sharelatex/sharelatex:6e6f3526af69

Analysis

This sounds exactly like the issue: overleaf/docker-image#63
However, the thread had no other information about the fix but that it was working in version 0.6.1 of the container and the ticket was closed subsequently.

I know that time/date are sometimes an issue in Docker containers so I validated that time and date are correct inside the container (using date).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions