Skip to content

Password management apis#132

Merged
guacamole merged 3 commits intomasterfrom
password-management-apis
Mar 31, 2022
Merged

Password management apis#132
guacamole merged 3 commits intomasterfrom
password-management-apis

Conversation

@guacamole
Copy link
Member

@guacamole guacamole commented Mar 31, 2022

this PR fixes #115

  • email service integrated for sending out /invites along with reset password and activate account links

@guacamole guacamole added enhancement New feature or request P2 P2 labels are used for significant features, improvements, etc labels Mar 31, 2022
@guacamole guacamole requested a review from jay-dee7 March 31, 2022 16:56
@guacamole guacamole self-assigned this Mar 31, 2022
@guacamole guacamole force-pushed the password-management-apis branch from a410535 to 24565f1 Compare March 31, 2022 16:58
@jay-dee7 jay-dee7 linked an issue Mar 31, 2022 that may be closed by this pull request
config/config.go Outdated
}

func (sc *Store) Endpoint() string {
color.Green("stoer: %s", sc)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@guacamole please remove this

err = json.NewDecoder(ctx.Request().Body).Decode(&pwd)
if err != nil {
a.logger.Log(ctx, err)
return ctx.JSON(http.StatusBadRequest, echo.Map{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@guacamole return the actual error

}
err = a.emailClient.WelcomeEmail(strings.Split(list.Emails, ","))
if err != nil {
return ctx.JSON(http.StatusInternalServerError, echo.Map{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@guacamole add logger here too

Copy link
Member

@jay-dee7 jay-dee7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@guacamole LGTM 🥇 🥇 🥇 good work on this one :)

@guacamole guacamole force-pushed the password-management-apis branch from 24565f1 to 681ea12 Compare March 31, 2022 17:14
@guacamole guacamole merged commit 7f603ba into master Mar 31, 2022
@guacamole guacamole deleted the password-management-apis branch March 31, 2022 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request P2 P2 labels are used for significant features, improvements, etc

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Reset Password

2 participants