mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-26 23:51:55 +01:00
13 lines
391 B
Python
13 lines
391 B
Python
|
from flask import g, abort, render_template, jsonify
|
||
|
import json
|
||
|
from lnbits.decorators import check_user_exists, validate_uuids
|
||
|
from lnbits.extensions.usermanager import usermanager_ext
|
||
|
from lnbits.db import open_ext_db
|
||
|
|
||
|
|
||
|
@usermanager_ext.route("/")
|
||
|
@validate_uuids(["usr"], required=True)
|
||
|
@check_user_exists()
|
||
|
def index():
|
||
|
|
||
|
return render_template("usermanager/index.html", user=g.user)
|