no need for check_login with the new check_login_simple function

This commit is contained in:
Rodney Ewing
2013-05-27 08:54:25 -07:00
parent 3bcdc49088
commit 3b8c733b98
4 changed files with 6 additions and 22 deletions

View File

@@ -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)

View File

@@ -17,7 +17,6 @@
import logging
import wtforms
from sqlalchemy import or_
from mediagoblin import mg_globals
from mediagoblin.db.models import User