-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
New invitation endpoint #179
Conversation
05c0aee
to
edc5677
Compare
Discussed a simpler approach with @bobbyrullo
That means you can get rid of handlePOST and a bunch of the new test cases |
edc5677
to
1586a2c
Compare
@@ -355,9 +361,35 @@ func TestSendResetPasswordEmailHandler(t *testing.T) { | |||
} | |||
} | |||
|
|||
type resetPasswordTestCase struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why define this outside of testResetPasswordHandler?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made obsolete in a162744
LGTM (with the assumption that you've run through all the tests of course :) ) |
An invitation allows users to both verify their email address and set a new password.
93df33f
to
0c854a2
Compare
Drive authctl new-client with API
An alternative to #157 - allow newly invited users to simultaneously verify their email addresses and reset their passwords.