Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Users who did not get receive activation email can not log in #8106

Closed
1 task done
richard-fairthorne opened this issue Aug 17, 2018 · 2 comments
Closed
1 task done
Milestone

Comments

@richard-fairthorne
Copy link

richard-fairthorne commented Aug 17, 2018

Overview of the issue

When a user signs up, they are sent an activation email. If they do not receive it (for example if the mail server is down or it was filtered as spam), there is no way for that user to activate.

Motivation for or Use Case

When users sign up, they want to be able to login. If the activation email doesn't go through, there is no feature to resend it, and they cannot ever login.

When they try to log in they get the message: Failed to sign in! Please check your credentials and try again.

When they use "forgot my password" they get the message: Email address isn't registered! Please check and try again

When they try to re-register, they get the message: Login name already registered! Please choose another one.

When they choose a different username, they get the message: Email is already in use! Please choose another one.

Reproduce the error
  1. Create a new jhipster project with no mail server setup.
  2. Sign up.
  3. Pretend you can't see the logs where the activation link is listed.
  4. Try (to no avail) to log in, get another activation email, delete your account to re-sign up, or get access to the website my any means.
Related issues

I was not able to find a report of this issue.

Suggest a Fix

When a not activated user tries to sign in, provide a link to re-send the activation email.

JHipster Version(s)

v5.2.1

JHipster configuration

Using JHipster version installed locally in current project's node_modules
Executing jhipster:info
Options:
Welcome to the JHipster Information Sub-Generator

JHipster Version(s)
omnipresnet@0.0.0 /Users/admin/src/omnipresnet.com
└── generator-jhipster@5.2.1 

JHipster configuration, a .yo-rc.json file generated in the root folder
.yo-rc.json file
{
  "generator-jhipster": {
    "promptValues": {
      "packageName": "com.omnipresnet",
      "nativeLanguage": "en"
    },
    "jhipsterVersion": "5.2.1",
    "applicationType": "monolith",
    "baseName": "omnipresnet",
    "packageName": "com.omnipresnet",
    "packageFolder": "com/omnipresnet",
    "serverPort": "8080",
    "authenticationType": "jwt",
    "cacheProvider": "ehcache",
    "enableHibernateCache": true,
    "websocket": false,
    "databaseType": "sql",
    "devDatabaseType": "h2Disk",
    "prodDatabaseType": "mysql",
    "searchEngine": false,
    "messageBroker": false,
    "serviceDiscoveryType": false,
    "buildTool": "maven",
    "enableSwaggerCodegen": false,
    "jwtSecretKey": "replaced-by-jhipster-info",
    "clientFramework": "angularX",
    "useSass": false,
    "clientPackageManager": "npm",
    "testFrameworks": [],
    "jhiPrefix": "jhi",
    "enableTranslation": true,
    "nativeLanguage": "en",
    "languages": [
      "en"
    ]
  }
}
JDL for the Entity configuration(s) entityName.json files generated in the .jhipster directory
JDL entity definitions

Environment and Tools

java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)

git version 2.17.0

node: v8.11.3

npm: 6.1.0

yeoman: 2.0.5

Docker version 18.06.0-ce, build 0ffa825

docker-compose version 1.22.0, build f46880f

Congratulations, JHipster execution is complete!

Entity configuration(s) entityName.json files generated in the .jhipster directory

Nothing generated but the defaults.

Browsers and Operating System

OSX - any browser -- I chose Angular when generating the projet.

  • Checking this box is mandatory (this is just to show you read everything)
@richard-fairthorne richard-fairthorne changed the title Users who did not get receive activation email can log in Users who did not get receive activation email can not log in Aug 17, 2018
@jdubois
Copy link
Member

jdubois commented Aug 17, 2018

At the moment they need to wait 2 or 3 days (I'm not sure) before being able to activate their account again, as their account will get purged. The other solution is to ask their administrator, who can activate the account manually.

We should just allow people to register again, if their email address hasn't been activated yet.

@richard-fairthorne
Copy link
Author

richard-fairthorne commented Aug 19, 2018

That would be a fine solution, and sounds easy to implement. For me, the problem is solved when the customer can "self-serve".

I like to reduce signup friction for users. If I was teetering on the edge of trying out a service, and I can't figure out to sign in, I probably don't come back.

This would be a great improvement.

@jdubois jdubois added this to the 5.3.0 milestone Sep 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants