|
|
@ -72,7 +72,7 @@ def init(product):
|
|
|
|
for id in sub :
|
|
|
|
for id in sub :
|
|
|
|
if sub[id]['active'] is True :
|
|
|
|
if sub[id]['active'] is True :
|
|
|
|
features[id] = sub[id]
|
|
|
|
features[id] = sub[id]
|
|
|
|
session['active-plans'] = [item['plan_id'] for item in features]
|
|
|
|
|
|
|
|
user.refresh(uid)
|
|
|
|
user.refresh(uid)
|
|
|
|
session['key'] = user.user_key
|
|
|
|
session['key'] = user.user_key
|
|
|
|
session['uid'] = uid
|
|
|
|
session['uid'] = uid
|
|
|
|