mirror of
https://github.com/discourse/discourse.git
synced 2025-02-09 19:35:30 +08:00
15 lines
409 B
JavaScript
15 lines
409 B
JavaScript
import { resendActivationEmail } from "discourse/lib/user-activation";
|
|
|
|
export default Ember.Controller.extend({
|
|
actions: {
|
|
sendActivationEmail() {
|
|
resendActivationEmail(this.get("accountCreated.username")).then(() => {
|
|
this.transitionToRoute("account-created.resent");
|
|
});
|
|
},
|
|
editActivationEmail() {
|
|
this.transitionToRoute("account-created.edit-email");
|
|
}
|
|
}
|
|
});
|