mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: add user invite link on admin interface
This commit is contained in:
@@ -7,6 +7,10 @@ export default Discourse.Route.extend({
|
||||
Discourse.ExportCsv.exportUserList().then(outputExportResult);
|
||||
},
|
||||
|
||||
sendInvites: function() {
|
||||
this.transitionTo('user.invited', Discourse.User.current());
|
||||
},
|
||||
|
||||
deleteUser: function(user) {
|
||||
Discourse.AdminUser.create(user).destroy({ deletePosts: true });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user