Skip to content

Commit e4da8e0

Browse files
committed
Bug Fix: Activation code is not stored in db
- When app restarts, it returns with Login screen even though activation is applied and valid.
1 parent e5fb2f7 commit e4da8e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/login/login.service.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
isLoggedIn = true;
157157
if ((res.data.code != undefined) && (res.data.code == 13))
158158
processMintCode(-404);
159-
amLogin.saveActivationDetails(vm.code, res.data.starts, res.data.ends).then(proceed).catch(failure);
159+
amLogin.saveActivationDetails(code, res.data.starts, res.data.ends).then(proceed).catch(failure);
160160
}
161161

162162
function success(res) {

0 commit comments

Comments
 (0)