mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 01:31:35 +08:00
DEV: attemps to limit Discourse.User.current() usage (#7943)
This commit is contained in:
@ -134,7 +134,7 @@ export default Ember.Controller.extend(CanCheckEmails, {
|
||||
return this.model.resetBounceScore();
|
||||
},
|
||||
approve() {
|
||||
return this.model.approve();
|
||||
return this.model.approve(this.currentUser);
|
||||
},
|
||||
deactivate() {
|
||||
return this.model.deactivate();
|
||||
|
Reference in New Issue
Block a user