mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim-api.git
synced 2026-08-30 01:44:03 +00:00
fix update profile error
fix update profile frontend unauthorize
This commit is contained in:
@@ -78,8 +78,8 @@
|
||||
token: $('#verify-code').val()},
|
||||
success: function(data) {
|
||||
if( data.success){
|
||||
localStorage.token = data.token;
|
||||
document.location.href="profile-first-setup.html";
|
||||
localStorage.token = data.data.token;
|
||||
}
|
||||
else{
|
||||
console.log('wrong code');
|
||||
|
||||
Reference in New Issue
Block a user