Skip to content

Adds the ability to unlock an admin or reset an admin password via the CLI#145

Merged
thatarchguy merged 1 commit intomasterfrom
ft-manage-admin-cli-144
Jul 28, 2016
Merged

Adds the ability to unlock an admin or reset an admin password via the CLI#145
thatarchguy merged 1 commit intomasterfrom
ft-manage-admin-cli-144

Conversation

@mprahl
Copy link
Member

@mprahl mprahl commented Jul 27, 2016

Adds the ability to unlock an admin or reset an admin password via the CLI

db.session.close()


def reset_admin_password(username, new_password):
Copy link
Member

Choose a reason for hiding this comment

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

This function should be on the model 💨

…e CLI

Moves logic of setting an admin password to the database models
@mprahl mprahl force-pushed the ft-manage-admin-cli-144 branch from 8cf302e to 5ab2d1c Compare July 27, 2016 02:34
@mprahl
Copy link
Member Author

mprahl commented Jul 27, 2016

@thatarchguy, my latest version addresses your feedback. Good point.

@thatarchguy thatarchguy merged commit 28685b9 into master Jul 28, 2016
@thatarchguy thatarchguy deleted the ft-manage-admin-cli-144 branch July 28, 2016 03:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants