Esempio n. 1
0
def password():
    """ """
    
    data = core_settings(g.my['_id'])
        
    user = data["user"]
    return render_template('{}/password.html'.format(MODULE_DIR), **locals())
Esempio n. 2
0
def settings():
    """ """

    params = request.json
    user = core_settings(params)

    return jsonify(user)
Esempio n. 3
0
def settings():
    """ """

    params = request.json
    user = core_settings(params)

    return jsonify(user)
Esempio n. 4
0
def profile():
    """ """

    list_ranks = g.db.ranks.find()
    data = core_settings(g.my['_id'])
        
    user = data["user"]
    return render_template('{}/profile.html'.format(MODULE_DIR), **locals())
Esempio n. 5
0
def account():
    """ """

    list_ranks = g.db.ranks.find()
    language_name = g.languages_object.get_languages(3)
    data = core_settings(g.my['_id'])
        
    user = data["user"]
    return render_template('{}/account.html'.format(MODULE_DIR), **locals())