mirror of
https://github.com/discourse/discourse.git
synced 2025-02-04 12:50:44 +08:00
16 lines
410 B
JavaScript
16 lines
410 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');
|
|
}
|
|
}
|
|
});
|
|
|