Skip to content
This repository was archived by the owner on Jul 29, 2026. It is now read-only.
This repository was archived by the owner on Jul 29, 2026. It is now read-only.

Forgot password/Remember me #259

Open

Description

@themcguy

I am just getting into yeoman and I think this is an awesome tool. Any plans to support out-of-the-box forgot password/remember me functionality?

Activity

  1. JaKXz commented on Jun 19, 2014

    @JaKXz
    Collaborator

    Have a look at the roadmap for 2.0.0 (and the issues tied to that milestone), and in the meantime, there are similar solutions on npm.

  2. remicastaing commented on Jun 19, 2014

    @remicastaing
    Contributor

    Password reset is one of the topic of issue DaftMonk/modular-fs#14. I'm working on it.

  3. remicastaing commented on Jul 8, 2014

    @remicastaing
    Contributor

    Password reset and also email address confirmation mechanism are the two topic of the PR DaftMonk/modular-fs#20.

  4. remicastaing commented on Jul 9, 2014

    @remicastaing
    Contributor

    I'm seeking a way to implement a remember functionality and found this:

  5. remicastaing commented on Jul 9, 2014

    @remicastaing
    Contributor

    I've implemented a remember me functionality in PR DaftMonk/modular-fs#21. I replaced angular-cookies with ngStorage.

  6. wmertens commented on Jan 13, 2015

    @wmertens

    so... why were these PRs not merged yet? They seem super useful? 😕

    I would expect email confirmation/password reset to be a must when implementing local passwords.

  7. azachar commented on May 13, 2015

    @azachar

    Hey @remicastaing,
    Thank you for implementing this. One question: why do you need to store the bearer token in the local and the session storage? The session storage preserve data only while your browser's tab is open. So I guess that the local storage should be used only. What do you think?

    Cheers,
    Andrej

  8. remicastaing commented on May 13, 2015

    @remicastaing
    Contributor

    You're welcome, @azachar. If the "remember me" box is checked on the login screen, the local storage is used. If not, it will be the session storage.

  9. azachar commented on May 14, 2015

    @azachar

    I see, thanks!

  10. azachar commented on Apr 15, 2016

    @azachar

    So is here any progress?

  11. TimPchelintsev commented on Jul 24, 2016

    @TimPchelintsev

    Hi. What is the status of this feature?

  12. Koslun commented on Jul 24, 2016

    @Koslun
    Member

    No progress at this point in time I believe. PR linked above is very outdated and would have to be changed quite a lot to be integrated.

    Current focus is mainly being put behind getting the generator to Angular 2 but if anyone wants to suggest a PR it can probably get integrated.

  13. whittssg commented on Mar 24, 2017

    @whittssg

    Not sure if this is related or not but i wanted my users logins to be persisted if the browser was closed... I changed the following and it seemed to work, just not sure if this is the correct / good way to do it:

    Added the following in client/components/auth/auth.service.js

    var now = new $window.Date(),
    // this will set the expiration to 6 months
     exp = new $window.Date(now.getFullYear(), now.getMonth()+6, now.getDate());
    

    then in the var auth = i changed:

     .then(res => {
    $cookies.put('token', res.data.token);
    

    to

    .then(res => {
    $cookies.put('token', res.data.token,{
     expires: exp
    });
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions