Skip to content
Snippets Groups Projects
Commit 010d8874 authored by ANDRIATAHINA Dady Christon's avatar ANDRIATAHINA Dady Christon
Browse files

up user info after login

parent 5ce3ae86
No related branches found
No related tags found
No related merge requests found
......@@ -177,6 +177,7 @@ var Login = {
// dyFObj.openForm( dyFObj.openFormAfterLogin.type, dyFObj.openFormAfterLogin.afterLoad, dyFObj.openFormAfterLogin.data );
} else {
userId=data.id;
userConnected = data.account;
var hash = location.hash.replace( "#","" );
if(costum && typeof costum.htmlConstruct !="undefined" && typeof costum.htmlConstruct.redirect !="undefined" && costum.htmlConstruct.redirect.logged && costum.htmlConstruct.redirect.forced){
window.location.hash = "#"+costum.htmlConstruct.redirect.logged;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment