def password(): """ """ data = core_settings(g.my['_id']) user = data["user"] return render_template('{}/password.html'.format(MODULE_DIR), **locals())
def settings(): """ """ params = request.json user = core_settings(params) return jsonify(user)
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())
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())