flask_boost/project/application/utils/account.py
def signin_user(user, permenent=True):
    """Sign in user."""
    session.permanent = permenent
    session['user_id'] = user.id
def signin_user(user, permenent=True):
    session.permanent = permenent
    session['user_id'] = user.id
def signin_user ( user , permenent = True ) : session . permanent = permenent session [ 'user_id' ] = user . id
Sign in user.
Sign in user .