コード例 #1
0
ファイル: login.py プロジェクト: hasgeek/hasgeek.tv
def lastusernotify(user):
    Channel.update_from_user(user, db.session, type_user=CHANNEL_TYPE.PERSON, type_org=CHANNEL_TYPE.ORGANIZATION)
    db.session.commit()
コード例 #2
0
ファイル: login.py プロジェクト: hasgeek/hasgeek.tv
def lastuserauth():
    Channel.update_from_user(current_auth.user, db.session, type_user=CHANNEL_TYPE.PERSON, type_org=CHANNEL_TYPE.ORGANIZATION)
    db.session.commit()
    return redirect(get_next_url())