|
110 |
|
110 |
|
111 |
onLogin: function(username) { |
111 |
onLogin: function(username) { |
112 |
// save the username internally and as cookie |
112 |
// save the username internally and as cookie |
113 |
dojo.cookie('UMCUsername', username, { expires: 100, path: '/' }); |
113 |
if (username !== undefined) { |
114 |
umc.tools.status('username', username); |
114 |
dojo.cookie('UMCUsername', username, { expires: 100, path: '/' }); |
|
|
115 |
umc.tools.status('username', username); |
116 |
} |
115 |
|
117 |
|
116 |
// set the UCR session timeout value |
118 |
// set the UCR session timeout value |
117 |
umc.tools.ucr('umc/http/session/timeout').then( function(res) { |
119 |
umc.tools.ucr('umc/http/session/timeout').then( function(res) { |