from .tool.func import * async def give_auth(user_name = ''): with get_db_connect() as conn: if user_name == '': user_name = await get_lang('authorize') sub = 0 else: sub = '(' + await get_lang('authorize') + ')' return easy_minify(flask.render_template(await skin_check(conn), imp = [user_name, await wiki_set(), await wiki_custom(conn), wiki_css([sub, 0])], data = '' + \ '
' + \ '' + \ '' + \ '', menu = [['manager', await get_lang('return')]] ))