Remove ckeditor
Remove tinymce Begin migrate to mithril.js
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
__author__ = 'RemiZOffAlex'
|
||||
__email__ = 'remizoffalex@mail.ru'
|
||||
__url__ = 'https://remizoffalex.ru/'
|
||||
|
||||
import string
|
||||
|
||||
@@ -10,7 +9,7 @@ from . import jsonrpc
|
||||
from .. import app, lib, models
|
||||
|
||||
|
||||
@jsonrpc.method('login')
|
||||
@jsonrpc.method('auth.login')
|
||||
def login(username: str, password: str) -> bool:
|
||||
user = models.db_session.query(
|
||||
models.User
|
||||
@@ -29,7 +28,7 @@ def login(username: str, password: str) -> bool:
|
||||
return True
|
||||
|
||||
|
||||
@jsonrpc.method('login.register')
|
||||
@jsonrpc.method('auth.register')
|
||||
def login_register(username: str, password: str) -> bool:
|
||||
"""Регистрация
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user