Skip to content

New gitit users cannot log in after creating an account #674

@RGD2

Description

@RGD2

This is with 8063ea9 and with Chrome Version 94.0.4606.61 (Official Build) (64-bit)

Steps to reproduce:

  • Be on windows 10

  • Get debian from Windows Store (follow instructions for WSL2 setup)

  • get into wsl debian

  • sudo apt install -y git haskell-stack

  • cd; git clone https://jgm/gitit

  • cd gitit; stack install

  • mkdir ~/testgitit; cd ~/testgitit

  • gitit --print-default-config > my.conf

  • gitit -f my.conf

  • browse to http://localhost:5001

  • on Front page: click 'edit'

  • on Login page: click 'click here to get one'

  • fill in form (with real email address)

  • right-click password field, select 'Suggest Password...', click 'Use suggested password'.

  • click Register

  • now back at Login page, username/password are prefilled by chrome, click Login

  • nothing happens - still on Login page, still pre-filled, no error messages and not logged in.

  • back to front page by clicking the dog, clicking 'login / get an account', then click login button -> back to front page, NOT logged in.

There's no sent email with an account verification link, and no error message either. Nothing is in the log file apart from the 7 Created/Added lines.

Making it save password reset emails locally:

cat <<EF > fakemail
#!/bin/bash
cat > ~/fakemail
EF
chmod +x fakemail
cat my.conf | sed 's/sendmail/.\/fakemail/' > fm.conf
gitit -f fm.conf

And now at least the reset URL email can be seen with cat ~/fakemail, but repeating account generation does not put an account creation email there.

What's going on? There's a line in gitit-users, and I can ask for a password regeneration and use the link to change the password, but I still can't log in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions