1
0
mirror of https://github.com/flarum/core.git synced 2025-08-09 09:57:06 +02:00

Finish signup process, including state restoration

This commit is contained in:
Toby Zerner
2015-02-25 15:34:02 +10:30
parent 076be26001
commit 9ea482254c
15 changed files with 62 additions and 29 deletions

View File

@@ -28,6 +28,7 @@ export default Ember.Controller.extend(ModalController, {
return user.save().then(function(user) {
controller.set('welcomeUser', user);
controller.set('loading', false);
controller.send('saveState');
}, function(reason) {
controller.set('loading', false);
});