Commit 6c9e4f61 authored by Sean Hammond's avatar Sean Hammond

Enable admins to activate users

Add an "Activate" button next to users on the /admin/users page so that
admins can activate user accounts.

Some refactoring to avoid code duplication between activating by users
clicking on an activation link and admins clicking the new activate button:
move the code that actually activates the user onto the User model where
both views can call it.
parent 1a6112f8
......@@ -10,3 +10,7 @@ body {
table-layout: auto;
width: auto;
}
.users-activate-form {
display: inline;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment