diff options
author | Folker Bernitt <fbernitt@thoughtworks.com> | 2014-10-08 11:05:01 +0200 |
---|---|---|
committer | Folker Bernitt <fbernitt@thoughtworks.com> | 2014-10-08 11:08:39 +0200 |
commit | 9fd74021afb0a6d4551b21615f7094b1b0705f63 (patch) | |
tree | 5b7936ee1400875a1d31731a576d16d213cb5ad3 /web-ui/test/features.js | |
parent | 3edd9fcb2cd0ea1f05f0277c85430c9751878406 (diff) |
Added logout link to dispatcher (issue #55).
- Set DISPATCHER_LOGOUT_URL environment to logout url to show logout.
- Logout button currently lacks some design
Diffstat (limited to 'web-ui/test/features.js')
-rw-r--r-- | web-ui/test/features.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/web-ui/test/features.js b/web-ui/test/features.js index 27c47176..29c6d87d 100644 --- a/web-ui/test/features.js +++ b/web-ui/test/features.js @@ -3,6 +3,12 @@ define([], function() { return { isEnabled: function(featureName) { return true; + }, + isLogoutEnabled: function() { + return true; + }, + getLogoutUrl: function() { + return '/test/logout/url'; } }; }); |