This allows users who entered a typo or invalid email address when signing up an opportunity to fix it and resending the confirmation email to that address.
18 lines
345 B
JavaScript
18 lines
345 B
JavaScript
import showModal from 'discourse/lib/show-modal';
|
|
|
|
export default Ember.Mixin.create({
|
|
flash(text, messageClass) {
|
|
this.appEvents.trigger('modal-body:flash', { text, messageClass });
|
|
},
|
|
|
|
showModal(...args) {
|
|
return showModal(...args);
|
|
},
|
|
|
|
actions: {
|
|
closeModal() {
|
|
this.get('modal').send('closeModal');
|
|
}
|
|
}
|
|
});
|