mirror of
https://github.com/wekan/wekan.git
synced 2026-01-25 10:46:09 +01:00
Upgrade dependencies
This includes a security fix in mquandalle:bower, and a new package for useraccounts iron-router templates which forced us to move some configuration function calls.
This commit is contained in:
parent
ae4288d507
commit
4fc72d64b4
5 changed files with 43 additions and 38 deletions
|
|
@ -17,3 +17,29 @@ AccountsTemplates.configure({
|
|||
Router.go('Home');
|
||||
}
|
||||
});
|
||||
|
||||
_.each(['signIn', 'signUp', 'resetPwd', 'forgotPwd', 'enrollAccount'],
|
||||
function(routeName) {
|
||||
AccountsTemplates.configureRoute(routeName, {
|
||||
layoutTemplate: 'userFormsLayout'
|
||||
});
|
||||
});
|
||||
|
||||
// We display the form to change the password in a popup window that already
|
||||
// have a title, so we unset the title automatically displayed by useraccounts.
|
||||
AccountsTemplates.configure({
|
||||
texts: {
|
||||
title: {
|
||||
changePwd: ''
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
AccountsTemplates.configureRoute('changePwd', {
|
||||
redirect: function() {
|
||||
// XXX We should emit a notification once we have a notification system.
|
||||
// Currently the user has no indication that his modification has been
|
||||
// applied.
|
||||
Popup.back();
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue