Adding a logout handler that redirects to login page

This commit is contained in:
Bruno Alves de Faria committed 2017-03-24 08:33:32 -03:00
1 parent 08fc0100f8
commit 0a82bfd6b6
1 file changed
+5
@@ -1 +1,6 @@
import { Accounts } from 'meteor/accounts-base';
import { Router } from 'meteor/iron:router';
Accounts.onLogout(() => {
Router.go('/entrySignIn');
});