-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
feat(auth) confirm password #471
Conversation
This is something important to my clients, so I thought it would be good to add it to the generator. Also adding the attribute to labels w/ associated IDs on inputs so clicking labels will do as they should - focus the input. Changes: adding bower dep for angular-confirm-field (https://github.com/wongatech/angular-confirm-field) adding angular dependency 'ng.confirmField' to app/index.js adding confirm password fields to signup pages (html & jade) adding attribute to labels with matching ids on their corresponding inputs repeating previous 2 steps for settings pages (html & jade)
Ack, I didn't run the tests locally, my bad. The error is boiling down to this:
When I look into the test/temp/ folder I can see the generated app and the dependency for ng.confirmField is there in the app.js file. Is there a separate place I need to list it for the test? |
Sorry, that doesn't seem to fix the issue; I just had a chance to check myself. |
Wow, how silly of me... Karma is using phantom.js to test; in |
Bah, I shoulda known about that file! =) Fixed & ready for merge! |
I just saw "PRs directly to canary would make my job easier." in an older PR. I can do that for ya... |
@thomporter, I was wondering if you wouldn't mind squashing those two commits. I think it would make more sense especially since the change log is generated from commits, and being that the first commit introduces the bug that the second one fixes; I see no reason to have them as separate. |
I mean no offense, just a suggestion really :) |
@kingcody none taken, I totally agree. Question though, I went to the canary branch to start working on it there, and I'm seeing on the settings page there's a new feature (edit email) which isn't in master. I haven't tested it yet, not sure if it's fully functional... Should I just edit that page and add the confirm box? I actually haven't gotten to the signup page in canary yet.... 😄 |
Absolutely. I do believe that was implemented by @chester1000 in his recent PR to improve 3rd party auth options and allow for multiple strategies per user. |
This is something important to my clients, so I thought it would be good to add it to the generator.
Also adding the attribute to labels w/ associated IDs on inputs so clicking labels will
do as they should - focus the input.
Changes:
adding bower dep for angular-confirm-field (https://github.com/wongatech/angular-confirm-field)
adding angular dependency 'ng.confirmField' to app/index.js
adding confirm password fields to signup pages (html & jade)
adding attribute to labels with matching ids on their corresponding inputs
repeating previous 2 steps for settings pages (html & jade)