no need for check_login with the new check_login_simple function
This commit is contained in:
@@ -16,13 +16,6 @@
|
||||
from mediagoblin.tools.pluginapi import hook_handle, hook_runall
|
||||
|
||||
|
||||
def check_login(user, password):
|
||||
result = hook_handle("auth_check_login", user, password)
|
||||
if result:
|
||||
return result
|
||||
return False
|
||||
|
||||
|
||||
def get_user(username):
|
||||
return hook_handle("auth_get_user", username)
|
||||
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
import logging
|
||||
|
||||
import wtforms
|
||||
from sqlalchemy import or_
|
||||
|
||||
from mediagoblin import mg_globals
|
||||
from mediagoblin.db.models import User
|
||||
|
||||
Reference in New Issue
Block a user