예제 #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())